Core Java Interview Questions
562 videos • 52,398 views • by QAFox
1
Write a simple Java Program (Core Java Interview Question #1)
QAFox
Download
2
Write a Java program to print an integer value (Core Java Interview Question #2)
QAFox
Download
3
How to compile and run a Java Program from command line (Core Java Interview Question #3)
QAFox
Download
4
What will happen if we run the Java code directly without compiling(Core Java Interview Question #4)
QAFox
Download
5
Explain one case where we get ClassNotFoundException (Core Java Interview Question #5)
QAFox
Download
6
What file will be created on compiling a Java file (Core Java Interview Question #6)
QAFox
Download
7
What does a .class file contains (Core Java Interview Question #7)
QAFox
Download
8
Who can understand Byte code in .class file (Core Java Interview Question #8)
QAFox
Download
9
Do we have to install JVM separately apart from installing Java (Core Java Interview Question #9)
QAFox
Download
10
What is the use of compiling in Java (Core Java Interview Question #10)
QAFox
Download
11
What will happen when we compile Java containing syntax problems (Core Java Interview Question #11)
QAFox
Download
12
Will .class file be created when Java compiling results in error (Core Java Interview Question #12)
QAFox
Download
13
Write a Java program to print command line arguments (Core Java Interview Question #13)
QAFox
Download
14
Write a Java program to print the input from Scanner (Core Java Interview Question #14)
QAFox
Download
15
Predefined Java class using which we can receive input from User (Core Java Interview Question #15)
QAFox
Download
16
Difference between next() & nextLine() methods of Scanner class (Core Java Interview Question #16)
QAFox
Download
17
Different types of user inputs we can receive using Scanner class (Core Java Interview Question #17)
QAFox
Download
18
Short cut in Eclipse IDE for single line commenting Java code (Core Java Interview Question #18)
QAFox
Download
19
Short cut in Eclipse IDE for multi-line commenting Java code (Core Java Interview Question #19)
QAFox
Download
20
Shortcut for uncommenting single & multi-line comments Eclipse IDE(Core Java Interview Question #20)
QAFox
Download
21
What will happen if main method is not available in Java programs (Core Java Interview Question #21)
QAFox
Download
22
What is the shortcut for writing main method in Eclipse IDE (Core Java Interview Question #22)
QAFox
Download
23
What is Java (Core Java Interview Question #23)
QAFox
Download
24
Name programming languages you know for developing applications (Core Java Interview Question #24)
QAFox
Download
25
Is Java a popular programming language (Core Java Interview Question #25)
QAFox
Download
26
Shortcut for writing Java print statement in Eclipse IDE (Core Java Interview Question #26)
QAFox
Download
27
Explain how Java is platform independent programming language (Core Java Interview Question #27)
QAFox
Download
28
Is Java 100 percent Object Oriented Programming Language (Core Java Interview Question #28)
QAFox
Download
29
What will happen when you add a character with a number in Java (Core Java Interview Question #29)
QAFox
Download
30
What will happen when you add a String with a number in Java (Core Java Interview Question #30)
QAFox
Download
31
Does Java has automatic memory cleaning mechanism (Core Java Interview Question #31)
QAFox
Download
32
Difference between pred-defined and user defined classes in Java (Core Java Interview Question #35)
QAFox
Download
33
What is LTS version of Java (Core Java Interview Question #32)
QAFox
Download
34
What is the latest LTS version of Java (Core Java Interview Question #33)
QAFox
Download
35
What is the first LTS version of Java (Core Java Interview Question #34)
QAFox
Download
36
What is the difference between JRE and JDK variations of Java (Core Java Interview Question #36)
QAFox
Download
37
Is Java free or paid (Core Java Interview Question #37)
QAFox
Download
38
Is Java an Open Source Software (Core Java Interview Question #38)
QAFox
Download
39
What are the different Object Oriented Features in Java (Core Java Interview Question #39)
QAFox
Download
40
Why Java is familiar for most of the developers (Core Java Interview Question #40)
QAFox
Download
41
Why Java is secured programming language (Core Java Interview Question #41)
QAFox
Download
42
Do we have pointers in Java programming language (Core Java Interview Question #42)
QAFox
Download
43
Why Java is Reliable and Robust Programming Language (Core Java Interview Question #43)
QAFox
Download
44
What is JIT Compilation (Core Java Interview Question #44)
QAFox
Download
45
What are the main features of Java (Core Java Interview Question #45)
QAFox
Download
46
What is JVM (Core Java Interview Question #46)
QAFox
Download
47
What is Garbage Collector in Java (Core Java Interview Question #47)
QAFox
Download
48
What is the relation between JDK, JRE, JVM and JIT (Core Java Interview Question #48)
QAFox
Download
49
What is the most used IDE editor for writing Java code (Core Java Interview Question #49)
QAFox
Download
50
Is Eclipse IDE free or paid (Core Java Interview Question #50)
QAFox
Download
51
How to set environment variables for Java (Core Java Interview Question #51)
QAFox
Download
52
In Java programming, everything is enclosed inside (Core Java Interview Question #52)
QAFox
Download
53
Which keyword is required for creating a Class in Java (Core Java Interview Question #53)
QAFox
Download
54
What are the different things we can create inside a Class (Core Java Interview Question #54)
QAFox
Download
55
What is the naming convention of Classes in Java (Core Java Interview Question #55)
QAFox
Download
56
What is the naming convention of Java Projects (Core Java Interview Question #56)
QAFox
Download
57
What is the syntax for creating a Class in Java (Core Java Interview Question #57)
QAFox
Download
58
Program execution starts from where in Java (Core Java Interview Question #58)
QAFox
Download
59
Can we run Java programs without main method (Core Java Interview Question #59)
QAFox
Download
60
What is the syntax of main method (Core Java Interview Question #60)
QAFox
Download
61
Why main method is static (Core Java Interview Question #61)
QAFox
Download
62
Why main method in Java has a return type as void (Core Java Interview Question #62)
QAFox
Download
63
Why main method in Java needs to be specified as public (Core Java Interview Question #63)
QAFox
Download
64
What will happen if we modify the name of the main method in Java (Core Java Interview Question #64)
QAFox
Download
65
All the statements in Java should end with which symbol (Core Java Interview Question #65)
QAFox
Download
66
Can we write print statements in Java statements outside methods (Core Java Interview Question #66)
QAFox
Download
67
What are keywords in Java (Core Java Interview Question #67)
QAFox
Download
68
Can we run Java code without compiling it (Core Java Interview Question #68)
QAFox
Download
69
When do we get compiler errors in Java (Core Java Interview Question #69)
QAFox
Download
70
Will statements which come after return statement will be executed(Core Java Interview Question #70)
QAFox
Download
71
What will happen when you run Java code without compiling it (Core Java Interview Question #71)
QAFox
Download
72
Do we have to manually compile Java code in Eclipse IDE (Core Java Interview Question #72)
QAFox
Download
73
What will happen when there is unreachable code in Java programs (Core Java Interview Question #73)
QAFox
Download
74
Can we overload main method (Core Java Interview Question #74)
QAFox
Download
75
Can JVM invoke main overloaded methods in Java (Core Java Interview Question #75)
QAFox
Download
76
Can constructors be overloaded in Java (Core Java Interview Question #76)
QAFox
Download
77
What will happen if you remove semicolon from end of statements (Core Java Interview Question #77)
QAFox
Download
78
Is Java Case sensitive (Core Java Interview Question #78)
QAFox
Download
79
What will happen when you create duplicate methods in same class (Core Java Interview Question #79)
QAFox
Download
80
Mismatch between the number of starting and ending braces (Core Java Interview Question #80)
QAFox
Download
81
Can main method be overridden in Java (Core Java Interview Question #81)
QAFox
Download
82
How to declare variables in Java (Core Java Interview Question #82)
QAFox
Download
83
What is variable initialization in Java (Core Java Interview Question #83)
QAFox
Download
84
What is Method Overloading in Java (Core Java Interview Question #84)
QAFox
Download
85
Can we declare and initialize variables in single line in Java (Core Java Interview Question #85)
QAFox
Download
86
What is variable re-initialization means in Java (Core Java Interview Question #86)
QAFox
Download
87
What is Inheritance in Java (Core Java Interview Question #87)
QAFox
Download
88
Can we use variables in Java without declaring them (Core Java Interview Question #88)
QAFox
Download
89
What is method overriding in Java (Core Java Interview Question #89)
QAFox
Download
90
Can we use the variables in Java first and later declare them (Core Java Interview Question #90)
QAFox
Download
91
Can we provide private access modifier before a Class in Java (Core Java Interview Question #91)
QAFox
Download
92
Program to check whether the given number is divisible by 2 and 3 (Core Java Interview Question #92)
QAFox
Download
93
Declare a variable and print it without initializing it in Java (Core Java Interview Question #93)
QAFox
Download
94
What is Polymorphism in Java (Core Java Interview Question #94)
QAFox
Download
95
Can we access instance variables & methods inside static methods (Core Java Interview Question #95)
QAFox
Download
96
Can we access static variables & methods inside instance methods (Core Java Interview Question #96)
QAFox
Download
97
What are Local Variables in Java (Core Java Interview Question #97)
QAFox
Download
98
What are Global Variables in Java (Core Java Interview Question #98)
QAFox
Download
99
Can local and global variables have same name in Java (Core Java Interview Question #99)
QAFox
Download
100
Is Constructor overloading possible in Java (Core Java Interview Question #100)
QAFox
Download
101
What is the difference between Constructor and Method in Java (Core Java Interview Question #101)
QAFox
Download
102
What is the scope of Local Variables in Java (Core Java Interview Question #102)
QAFox
Download
103
What are the different modifiers in Java (Core Java Interview Question #103)
QAFox
Download
104
What are modifiers in Java (Core Java Interview Question #104)
QAFox
Download
105
What are the different types of variables in Java (Core Java Interview Question #105)
QAFox
Download
106
How to access the members of another class in Java (Core Java Interview Question #106)
QAFox
Download
107
Is Overloading possible in inheritance (Core Java Interview Question #107)
QAFox
Download
108
What will happen when v specify final modifier before constructor(Core Java Interview Question #108)
QAFox
Download
109
Can private variables & methods can be inherited by child classes(Core Java Interview Question #109)
QAFox
Download
110
Can we override a method which doesn't exists in parent class (Core Java Interview Question #110)
QAFox
Download
111
Can we specify private access modifier before a Class in Java (Core Java Interview Question #111)
QAFox
Download
112
What is meant by instance in Java (Core Java Interview Question #112)
QAFox
Download
113
Can we create object for abstract classes in Java (Core Java Interview Question #113)
QAFox
Download
114
Can we specify constructors with private access modifier (Core Java Interview Question #114)
QAFox
Download
115
Can we specify constructors with static modifier (Core Java Interview Question #115)
QAFox
Download
116
What will happen when we specify final modifier before a variable(Core Java Interview Question #116)
QAFox
Download
117
What will happen when we specify final modifier before a method (Core Java Interview Question #117)
QAFox
Download
118
What will happen when we specify final modifier before a class (Core Java Interview Question #118)
QAFox
Download
119
Can we create an object for an interface in Java (Core Java Interview Question #119)
QAFox
Download
120
What is the keyword for creating an interface in Java (Core Java Interview Question #120)
QAFox
Download
121
Can we specify abstract keyword before a variable in Java (Core Java Interview Question #121)
QAFox
Download
122
What is the naming convention of interfaces in Java (Core Java Interview Question #122)
QAFox
Download
123
What happens when we specify abstract modifier before methods (Core Java Interview Question #123)
QAFox
Download
124
What keyword is used to create objects in Java (Core Java Interview Question #124)
QAFox
Download
125
What is the naming convention of variables in Java (Core Java Interview Question #125)
QAFox
Download
126
Keyword to be used for creating a child class of an Interface (Core Java Interview Question #126)
QAFox
Download
127
Explain about abstract keyword in Java (Core Java Interview Question #127)
QAFox
Download
128
Explain about final keyword in Java (Core Java Interview Question #128)
QAFox
Download
129
Can we create methods having body inside abstract class (Core Java Interview Question #129)
QAFox
Download
130
What is the naming convention of methods in Java (Core Java Interview Question #130)
QAFox
Download
131
How to create Constants in Java (Core Java Interview Question #131)
QAFox
Download
132
What is the proper way to access static variables and methods (Core Java Interview Question #132)
QAFox
Download
133
What is the naming convention of constants in Java (Core Java Interview Question #133)
QAFox
Download
134
What is the use of new keyword in Java (Core Java Interview Question #134)
QAFox
Download
135
What happens when we specify abstract modifier before constructor(Core Java Interview Question #135)
QAFox
Download
136
What is the use of extends keyword in Java (Core Java Interview Question #136)
QAFox
Download
137
Can a single class be a child of multiple classes in Java (Core Java Interview Question #137)
QAFox
Download
138
What access modifiers are allowed to be specified before a class (Core Java Interview Question #138)
QAFox
Download
139
What is the use of implements keyword in Java (Core Java Interview Question #139)
QAFox
Download
140
What is instantiation (Core Java Interview Question #140)
QAFox
Download
141
Can we create object for the Class inside the same class (Core Java Interview Question #141)
QAFox
Download
142
Using extends keyword to make a class a child of an interface (Core Java Interview Question #142)
QAFox
Download
143
What are the types of Global Variables in Java (Core Java Interview Question #143)
QAFox
Download
144
Can we create objects outside methods in Java (Core Java Interview Question #144)
QAFox
Download
145
Can we assign multiple values to a single variable (Core Java Interview Question #145)
QAFox
Download
146
What is an object in Java programming (Core Java Interview Question #146)
QAFox
Download
147
Can we declare multiple variables in a single line (Core Java Interview Question #147)
QAFox
Download
148
Can we create duplicate variables in Java programs (Core Java Interview Question #148)
QAFox
Download
149
Can we assign value to multiple variables in a single line (Core Java Interview Question #149)
QAFox
Download
150
Can we create duplicate classes in Java (Core Java Interview Question #150)
QAFox
Download
151
Declare and assign values to multiple variables in a single line (Core Java Interview Question #151)
QAFox
Download
152
What is a variable in Java (Core Java Interview Question #152)
QAFox
Download
153
What are primitive data types in Java (Core Java Interview Question #153)
QAFox
Download
154
Is String a primitive data type in Java (Core Java Interview Question #154)
QAFox
Download
155
What is the scope of variables in Java (Core Java Interview Question #155)
QAFox
Download
156
Explain the concept of variable shadowing in Java (Core Java Interview Question #156)
QAFox
Download
157
What is the default value of a variable declared with int type (Core Java Interview Question #157)
QAFox
Download
158
What is the default value of a variable declared with double type(Core Java Interview Question #158)
QAFox
Download
159
Default value of a variable declared with boolean data type(Core Java Interview Question #159)
QAFox
Download
160
Default value of a variable declared with String class(Core Java Interview Question #160)
QAFox
Download
161
Can we declare variables with different data types in single line(Core Java Interview Question #161)
QAFox
Download
162
What are the different primitive data types we have in Java (Core Java Interview Question #162)
QAFox
Download
163
Can we use local variables without initializing them (Core Java Interview Question #163)
QAFox
Download
164
Can we use global variables without initializing them (Core Java Interview Question #164)
QAFox
Download
165
What are the other names for primitive data types in Java (Core Java Interview Question #165)
QAFox
Download
166
Eclipse IDE Shortcut for importing classes & interfaces (Core Java Interview Question #166)
QAFox
Download
167
Can you create a final variable without initializing it (Core Java Interview Question #167)
QAFox
Download
168
Can we specify method parameters with final in Java (Core Java Interview Question #168)
QAFox
Download
169
Create local variable having same name as method parameter(Core Java Interview Question #169)
QAFox
Download
170
Explain the concept of variable hoisting in Java (Core Java Interview Question #170)
QAFox
Download
171
Can you initialize the final specified variable in Constructor (Core Java Interview Question #171)
QAFox
Download
172
Assign decimal value to variable declared with int data type (Core Java Interview Question #172)
QAFox
Download
173
Can you initialize final specified variable in a method in Java (Core Java Interview Question #173)
QAFox
Download
174
How to name a constructor in Java (Core Java Interview Question #174)
QAFox
Download
175
return keyword inside a method whose return type is void (Core Java Interview Question #175)
QAFox
Download
176
Does constructor have return type (Core Java Interview Question #176)
QAFox
Download
177
What will happen when you update the value of a final variable (Core Java Interview Question #177)
QAFox
Download
178
Difference between local variables and instance variables (Core Java Interview Question #178)
QAFox
Download
179
Can you assign integer value to a double data type variable (Core Java Interview Question #179)
QAFox
Download
180
What is the size of byte data type in Java (Core Java Interview Question #180)
QAFox
Download
181
Can we create inner classes in Java (Core Java Interview Question #181)
QAFox
Download
182
Can you assign character value to a int data type variable (Core Java Interview Question #182)
QAFox
Download
183
Can you assign integer value to a char data type variable (Core Java Interview Question #183)
QAFox
Download
184
Range of values you can store into a byte data type variable (Core Java Interview Question #184)
QAFox
Download
185
Do we have to specify abstract keyword for methods in Interface (Core Java Interview Question #185)
QAFox
Download
186
Specify public modifier before classes, variables and methods(Core Java Interview Question #186)
QAFox
Download
187
Specify private modifier before classes, variables and methods (Core Java Interview Question #187)
QAFox
Download
188
Specify protected modifier before classes, variables and methods (Core Java Interview Question #188)
QAFox
Download
189
How to create objects in Java (Core Java Interview Question #189)
QAFox
Download
190
Can we specify void keyword before a constructor in Java (Core Java Interview Question #190)
QAFox
Download
191
Why void is mentioned before methods in Java (Core Java Interview Question #191)
QAFox
Download
192
When a method parameter has the same name of global variable(Core Java Interview Question #192)
QAFox
Download
193
What is the size of short data type in Java (Core Java Interview Question #193)
QAFox
Download
194
What is the size of boolean data type in Java (Core Java Interview Question #194)
QAFox
Download
195
Range of values we can store into a variable with short data type(Core Java Interview Question #195)
QAFox
Download
196
Range of values you can store into boolean date type variable(Core Java Interview Question #196)
QAFox
Download
197
Can we create multiple Classes inside the same java file (Core Java Interview Question #197)
QAFox
Download
198
Can we create multiple objects for the same class (Core Java Interview Question #198)
QAFox
Download
199
What is the size of int data type in Java (Core Java Interview Question #199)
QAFox
Download
200
Can a child class inherit from multiple parent interfaces (Core Java Interview Question #200)
QAFox
Download