Java Interview Questions List
• Variable - Local Variable and Global Variable
• Difference between Methods and Constructors
• Difference between Static and Non-Static Variables
• Difference between this keyword, final keyword, and super keyword
• What is Inheritance and its types?
• Why multiple inheritance is not possible through class in Java and how can it be achieved?
• What is Method Overloading and Method Overriding?
• What is Polymorphism? Explain Compile-time and Run-time Polymorphism
• What is Abstraction?
• Difference between Abstract Class and Concrete Class
• Can we achieve 100% abstraction through abstract class and interface? Justify
• What is Encapsulation?
• What is Singleton Design Pattern? Advantages?
• Exception Handling and its types
• What is Stack Unwinding?
• What are Special Blocks in Java?
• Difference between final keyword and finally block
• What is printStackTrace()?
• Difference between print() and println()
• What is Constructor and its types?
• What is Constructor Chaining?
• What are Collections?
• Difference between Array and Collection
• When do you use HashMap?
• Difference between List and LinkedList