Skip to content
OOPS Concepts & Design Principles – Core Java Interview Questions
- What are the four pillars of OOPS? Explain with real-world examples.
- What is the difference between abstract class and interface?
- What is polymorphism? Types of polymorphism in Java with examples.
- What is encapsulation? How is it implemented in Java?
- What are design patterns you have used in your projects?
Collections Framework
- What is the difference between List, Set, and Map?
- What are the differences between HashMap and Hashtable?
- How does ConcurrentHashMap work internally?
- What is the difference between ArrayList and LinkedList?
- What is the fail-fast and fail-safe iterator in Java?
Exception Handling
- What is the difference between throw and throws?
- Checked vs Unchecked exceptions — examples and use cases.
- Can we override a method that throws an exception with one that doesn’t?
Multithreading & Concurrency
- How does synchronized work in Java?
- What is the difference between wait(), sleep(), and join()?
- What is the purpose of the volatile keyword?
- Difference between Runnable and Callable interfaces?
Java 8+ Features
- What are functional interfaces and lambda expressions?
- Explain Streams in Java 8 and use cases.
- What is the difference between map() and flatMap() in streams?