Blog Archives

3 Java class loading interview Q&As

Q1. What do you know about Java class loading? Explain Java class loaders? A1. Class loaders are hierarchical. Classes are introduced into the JVM as they are referenced by name in …



Java abstract classes Vs interfaces Interview Q&As

Q1. When to use an abstract class over an interface? Q2. What is a diamond problem? Q3. Does Java support multiple inheritance? In design, you want the base class to present …



Java classes and interfaces are the building blocks

Q1. Which class declaration is correct if A and B are classes and C and D are interfaces? a) class Z extends A implements C, D{} b) class Z extends A,B …



300+ Java Interview FAQs

800+ Java Interview Q&As

Top