C++ Practice Quiz 2025 – Complete Exam Prep Based on 'Thinking in C++'

Question: 1 / 565

Which feature allows class definitions to manipulate one or more unspecified types in C++?

Inheritance

Polymorphism

Templates

Templates allow class definitions to manipulate one or more unspecified types in C++. Inheritance (A) is the mechanism for inheriting properties and behavior from parent classes. Polymorphism (B) refers to the ability of an object to take on multiple forms. Interfaces (D) provide a set of method signatures that a class must implement, but do not allow for the manipulation of unspecified types.

Get further explanation with Examzify DeepDiveBeta

Interfaces

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy