Self-Review Exercises
-
11.1 Fill in the blanks in each of the following statements:
enables new classes to absorb the data and behaviors of existing classes and embellish these classes with new capabilities.
A base class’s and members can be accessed in the base-class definition, in derived-class definitions and in
friend
s of the base class and derived classes.In a(n) relationship, an object of a derived class also can be treated as an object of its base class.
In a(n) relationship, a class object has one or more objects of other classes as members.
In single inheritance, a class exists in a(n) relationship with its derived classes.
A base class’s ...
Get C++ How to Program, 10/e now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.