Mastering C++: A Comprehensive Quiz Based on 'Thinking in C++'

Disable ads (and more) with a membership for a one time $2.99 payment

Test your C++ skills with our quiz based on Bruce Eckel's 'Thinking in C++'. Dive into object-oriented programming, advanced topics, and fundamentals. Perfect for learners and experts alike. Assess your knowledge and become a C++ master!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


Which among these is NOT a domain of OOP as mentioned?

  1. Abstract Data Typing

  2. Inheritance

  3. Polymorphism

  4. Garbage Collection

The correct answer is: Garbage Collection

Abstract Data Typing is a central aspect of Object-Oriented Programming (OOP), allowing for encapsulation, abstraction, and data hiding. Inheritance is another fundamental concept in OOP, where a new class can inherit the properties and methods of an existing class. Polymorphism refers to the ability of objects to take on different forms and behave differently depending on their data type. Garbage collection, on the other hand, is not a domain of OOP but rather a technique used in memory management to automatically deallocate memory spaces for objects that are no longer in use. Therefore, "Garbage Collection" is the correct answer as it is not mentioned as a domain of OOP.