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. Questions span every level, from easy warm-ups to expert-level stumpers, so there's a real challenge here however much you already know.
A mix of easy, medium and hard — questions run from warm-up to expert, so there's a real challenge at every level. Think you know the answers? Play to find out.
This is the blueprint or template from which individual objects are created in OOP.
Difficulty: EasyThis design pattern allows incompatible interfaces to work together by wrapping one interface around another.
Difficulty: MediumThis C++11 feature uses a boolean condition to enable or disable template overloads at compile time.
Difficulty: HardThis is a specific instance created from a class, with its own unique data values.
Difficulty: EasyThis design pattern provides a simplified interface to a complex subsystem of classes.
Difficulty: MediumThis C++ technique creates compile-time data structures by using recursive templates that build up type information.
Difficulty: HardThese are variables that belong to a class and store data about an object's state.
Difficulty: EasyThis design pattern adds new functionality to objects dynamically without modifying their structure.
Difficulty: Medium