Self-Review Exercises

  1. 11.1 Fill in the blanks in each of the following statements:

    1.               enables new classes to absorb the data and behaviors of existing classes and embellish these classes with new capabilities.

    2. A base class’s               and               members can be accessed in the base-class definition, in derived-class definitions and in friends of the base class and derived classes.

    3. In a(n)               relationship, an object of a derived class also can be treated as an object of its base class.

    4. In a(n)               relationship, a class object has one or more objects of other classes as members.

    5. In single inheritance, a class exists in a(n)               relationship with its derived classes.

    6. 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.