Core Java Questions
1. Basics of Java
What are the key features of Java?
Explain the differences between JDK, JRE, and JVM.
What is the difference between == and .equals() in Java?
2. OOP Concepts
Explain the four pillars of Object-Oriented Programming (OOP): Inheritance, Encapsulation, Polymorphism, and Abstraction.
How is method overloading different from method overriding?
What is an abstract class, and how is it different from an interface?
3. Collections Framework
Explain the difference between ArrayList and LinkedList.
How does HashMap work internally in Java?
What are the differences between Set, List, and Map?