You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| 19 |[What Is an inner class](#what-is-an-inner-class)|
29
29
| 20 |[What is the difference between final, finally, and finalize() in Java?](#what-is-the-difference-between-final-finally-and-finalize-in-java)|
30
30
| 21 |[What is the difference between '==' and equals() method?](#what-is-the-difference-between--and-equals-method)|
31
-
| 22 |[What is method overloading and method overriding?](#what-is-method-overloading-and-method-overriding)|
32
-
| 23 |[What is the difference between HashMap and Hashtable?](#what-is-the-difference-between-hashmap-and-hashtable)|
33
-
| 24 |[What is the difference between ArrayList and LinkedList?](#what-is-the-difference-between-arraylist-and-linkedlist)|
34
-
| 25 |[What is Java Reflection API?](#what-is-java-reflection-api)|
35
-
| 26 |[What are the different types of memory areas allocated by JVM?](#what-are-the-different-types-of-memory-areas-allocated-by-jvm)|
36
-
| 27 |[What is the difference between throw and throws?](#what-is-the-difference-between-throw-and-throws)|
37
-
| 28 |[What is a singleton class and how to create one?](#what-is-a-singleton-class-and-how-to-create-one)|
38
-
| 29 |[What are Java 8 Stream API features?](#what-are-java-8-stream-api-features)|
39
-
| 30 |[What is the difference between fail-fast and fail-safe iterators?](#what-is-the-difference-between-fail-fast-and-fail-safe-iterators)|
40
-
| 31 |[What is the difference between process and thread?](#what-is-the-difference-between-process-and-thread)|
41
-
| 32 |[What are the different ways to create a thread in Java?](#what-are-the-different-ways-to-create-a-thread-in-java)|
42
-
| 33 |[What is synchronization in Java?](#what-is-synchronization-in-java)|
43
-
| 34 |[What is deadlock and how to avoid it?](#what-is-deadlock-and-how-to-avoid-it)|
44
-
| 35 |[What is the volatile keyword in Java?](#what-is-the-volatile-keyword-in-java)|
45
-
| 36 |[What is the transient keyword in Java?](#what-is-the-transient-keyword-in-java)|
46
-
| 37 |[What is serialization and deserialization?](#what-is-serialization-and-deserialization)|
47
-
| 38 |[What are functional interfaces in Java?](#what-are-functional-interfaces-in-java)|
48
-
| 39 |[What are lambda expressions in Java?](#what-are-lambda-expressions-in-java)|
49
-
| 40 |[What is Optional class in Java 8?](#what-is-optional-class-in-java-8)|
50
-
| 41 |[What is the difference between Collection and Collections?](#what-is-the-difference-between-collection-and-collections)|
51
-
| 42 |[What is the difference between Set and List?](#what-is-the-difference-between-set-and-list)|
52
-
| 43 |[What is the difference between HashSet and TreeSet?](#what-is-the-difference-between-hashset-and-treeset)|
53
-
| 44 |[What is the diamond problem in Java?](#what-is-the-diamond-problem-in-java)|
54
-
| 45 |[What is dependency injection?](#what-is-dependency-injection)|
55
-
| 46 |[What is the difference between shallow copy and deep copy?](#what-is-the-difference-between-shallow-copy-and-deep-copy)|
56
-
| 47 |[What are design patterns in Java?](#what-are-design-patterns-in-java)|
57
-
| 48 |[What is the factory design pattern?](#what-is-the-factory-design-pattern)|
58
-
| 49 |[What is the builder design pattern?](#what-is-the-builder-design-pattern)|
59
-
| 50 |[What is the difference between Heap and Stack memory?](#what-is-the-difference-between-heap-and-stack-memory)|
60
-
| 51 |[What is garbage collection in Java?](#what-is-garbage-collection-in-java)|
61
-
| 52 |[What are the different types of garbage collectors in Java?](#what-are-the-different-types-of-garbage-collectors-in-java)|
62
-
| 53 |[What is the difference between wait() and sleep() methods?](#what-is-the-difference-between-wait-and-sleep-methods)|
63
-
| 54 |[What is the difference between notify() and notifyAll()?](#what-is-the-difference-between-notify-and-notifyall)|
64
-
| 55 |[What is an immutable class and how to create one?](#what-is-an-immutable-class-and-how-to-create-one)|
65
-
| 56 |[What is the difference between String, StringBuilder, and StringBuffer?](#what-is-the-difference-between-string-stringbuilder-and-stringbuffer)|
66
-
| 57 |[What is the difference between static and instance variables?](#what-is-the-difference-between-static-and-instance-variables)|
67
-
| 58 |[What is the purpose of the super keyword?](#what-is-the-purpose-of-the-super-keyword)|
68
-
| 59 |[What is the purpose of the this keyword?](#what-is-the-purpose-of-the-this-keyword)|
69
-
| 60 |[What are generics in Java?](#what-are-generics-in-java)|
70
-
| 61 |[What is type erasure in Java generics?](#what-is-type-erasure-in-java-generics)|
0 commit comments