← All topics
Quiz: OOP Interview Questions: questions with answers
10 questions, each with the answer and a short explanation.
Take the timed quiz + get a certificate →- Q1. Is Java a 100% object-oriented language?
- Q2. What does this print? (code)
- Q3. Can an abstract class have a constructor?
- Q4. Why doesn't Java allow multiple inheritance of classes?
- Q5. A Team holds Player objects created elsewhere; deleting the team doesn't delete players. This is:
- Q6. Can a static method be overridden in Java?
- Q7. What does this print? (code)
- Q8. What are an object's identity, state and behaviour?
- Q9. What is the recommended three-step way to answer an OOP interview question?
- Q10. When does an abstract class's constructor run?