Below are the top 45 Java Difference between – Interview Questions asked. We can firmly say, one who prepares these questions elaborately – has almost nothing else to prepare for a Java Developer Interview.
1) Difference between =, == operator
2) Difference between ==, equals() method
3) Difference between Abstract class and final class
4) Difference between abstract class and interface
5) Difference between default and protected
6) Difference between static and final
7) Difference between instance and static
8) Difference between global and local variables
9) Difference between Method Overloading and Method Overriding
10) Difference between normal class and abstract class
11) Difference between Encapsulation and Abstraction
12) Difference between catch and finally
13) Difference between equals and compare methods
14) Difference between Error and Exception
15) Difference between Unchecked and Checked Exception
16) Difference between throw and throws
17) Difference between Array and ArrayList
18) Difference between finally and final
19) Difference between List and Set
20) Difference between ArrayList and LinkedList
21) Difference between method and Constructor
22) Difference between Collection and Collections
23) Difference between this and super
24) Difference between this and this()
25) Difference between super and super()
26) Difference between addFirst and OfferFirst methods in LinkedList
27) Difference between offer() and OfferLast methods in LinkedList
28)Difference between HashSet and LinkedHashSet
29) Difference between HashSet and TreeSet
30) Difference between add and addAll methods
31) Difference between Map and Set
32) Difference between HashMap and LinkedHashMap
33) Difference between HashMap and TreeMap
34) Difference between Key and Value in Map
35) Difference between put(K,V) and putIfAbsent(K,V) methods
36) Difference between Map and Entry
37) Difference between ArrayList and LinkedList
38) Difference between Default Constructor and Zero Argument Constructor
39) Difference between variable and object
40) Difference between sub class and inner class
41) Difference between String literal and String object
42) Difference between Heap Memory and String Constant Pool Memory
43) Difference between length and length()
44) Difference between block and method
45) Difference between sleep() and wait()