Core Java (Beginner to Intermediate)
- What are the main features of Java?
- Explain JVM, JDK, and JRE.
- What are the differences between
== and .equals() in Java?
- What is the difference between
String, StringBuilder, and StringBuffer?
- Explain the concept of OOP in Java (Encapsulation, Inheritance, Polymorphism, Abstraction).
- What is a constructor in Java? Can we overload constructors?
- What is the difference between method overloading and method overriding?
- What is the difference between
final, finally, and finalize()?
- What are access modifiers in Java?
- Explain
static keyword and its usage.
- Difference between
throw and throws.
- What is the
this keyword in Java?
- Explain wrapper classes and autoboxing/unboxing.
- Difference between
ArrayList and LinkedList.
- What are
HashMap, TreeMap, and LinkedHashMap differences?
- Explain
HashSet, LinkedHashSet, and TreeSet.