What is Java?
Explain the difference between JDK, JRE, and JVM.
What are the main principles of Object-Oriented Programming (OOP) in Java? (Encapsulation, Inheritance, Polymorphism, Abstraction)
What is a class and an object in Java?
What is a constructor? How does it differ from a method?
What are access modifiers in Java?
Explain the purpose of the static keyword.
What is the final keyword used for?
What is the difference between an abstract class and an interface?
What is method overloading and method overriding?
Explain exception handling in Java. What are checked and unchecked exceptions?
What is garbage collection in Java?