01-02-2017, 04:42 PM
Core Java Interview Questions
1) What is the difference between JDK, JRE and JVM?
2) How many types of memory areas are assigned by JVM?
3) What is the JIT compiler?
4) What is platform?
5) What is the main difference between the Java platform and other platforms?
6) What gives Java its "write once and run anywhere" nature?
7) What is classloader?
8) Is the file name .java empty a valid source file name?
9) Is the keyword delete, next, main, exit or null in java?
10) If I do not provide arguments in the command line, then the String array of the Main method is empty or null?
11) What if I write static public void instead of public static void?
12) What is the default value of local variables?
13) What is the difference between the object-oriented programming language and the object-based programming language?
14) What will be the initial value of an object reference that is defined as an instance variable?
15) What is a builder?
16) What is the purpose of the default constructor?
17) Does the constructor return any value?
18) Is the builder inherited?
19) Can you make a final builder?
20) What is static variable?
21) What is the static method?
22) Why is the main method static?
23) What is static locking?
24) Can we run a program without the main () method?
25) What happens if the static modifier is removed from the signature of the main method?
26) What is the difference between the static method (class) and the instance method?
27) What is this in java?
28) What is inheritance?
29) What class is the super class for each class.
30) Why is not multiple inheritance supported in java?
1) What is the difference between JDK, JRE and JVM?
2) How many types of memory areas are assigned by JVM?
3) What is the JIT compiler?
4) What is platform?
5) What is the main difference between the Java platform and other platforms?
6) What gives Java its "write once and run anywhere" nature?
7) What is classloader?
8) Is the file name .java empty a valid source file name?
9) Is the keyword delete, next, main, exit or null in java?
10) If I do not provide arguments in the command line, then the String array of the Main method is empty or null?
11) What if I write static public void instead of public static void?
12) What is the default value of local variables?
13) What is the difference between the object-oriented programming language and the object-based programming language?
14) What will be the initial value of an object reference that is defined as an instance variable?
15) What is a builder?
16) What is the purpose of the default constructor?
17) Does the constructor return any value?
18) Is the builder inherited?
19) Can you make a final builder?
20) What is static variable?
21) What is the static method?
22) Why is the main method static?
23) What is static locking?
24) Can we run a program without the main () method?
25) What happens if the static modifier is removed from the signature of the main method?
26) What is the difference between the static method (class) and the instance method?
27) What is this in java?
28) What is inheritance?
29) What class is the super class for each class.
30) Why is not multiple inheritance supported in java?