All quizzes
Free quiz · 50 questions in the bank

OOP quiz

Test your OOP knowledge with a free interactive quiz — 50 questions with answers and explanations. No signup needed to play.

Question 1/12Score 0

What is object-oriented programming (OOP)?

In this round
  1. What is object-oriented programming (OOP)?
  2. What are the four classical pillars of OOP?
  3. What does `this` (or `self` in Python) refer to inside an instance method?
  4. What does it mean that an object has "identity"?
  5. Which best describes "inheritance"?
  6. What is a constructor?
  7. What is method overloading?
  8. What is an abstract class?
  9. What is the purpose of getters and setters?
  10. You have `interface Printable { void print(); }` and `class Receipt implements Printable`. What must `Receipt` do?
  11. What is the difference between a class and an object?
  12. What is `super` used for in a subclass?
Gaps to close?
Read the curated OOP notes — core concepts, patterns, interview prep.
OOP notes

More quizzes

.NETAccessibilityAgile MethodologyAirflowAlertmanagerAlgorithms