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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.