Programming paradigm using objects. Play Object-Oriented Programming trivia solo to sharpen your knowledge, or challenge a friend head-to-head in Trivia Tango — every question comes with an explanation so you learn as you play.
Think you know the answers? Play to find out.
This is the blueprint or template from which individual objects are created in OOP.
This is a specific instance created from a class, with its own unique data values.
These are variables that belong to a class and store data about an object's state.
This OOP principle allows a new class to acquire properties and methods from an existing class.
This special method is automatically called when a new object is created from a class.
This OOP principle bundles data and the methods that operate on that data within a single unit.
In class hierarchies, this term describes the class that is being inherited from.
In class hierarchies, this term describes the class that inherits from another class.