| | Allows us to write programs that process objects of classes that are part of the same class hierarchy as if they were objects of the base class. |
| |
| | Classes from which objects can be instantiated. |
| |
| | Casting a base-class pointer to a derived-class pointer. |
| |
| | Inheritance relationships form tree-like, ____________ structures. |
| |
| | Base-class members that are declared with the _______ access specifier cannot be accessed by member functions of derived classes. |
| |
| | Polymorphic programming can eliminate the need for a ______ _________ (Hint: A type of selection control structure) |
| |
| | You create a(n) ________ class by declaring one or more pure virtual functions with pure specifiers ( =0 ) in their declarations. |
| |
| | A derived class can inherit from more than one class. This is called ________ inheritance. |
| |
| | In inheritance, the existing class which is inherited from. |
| |
| | In inheritance, the new class which inherits from the existing class. |
| |
| | In polymorphism it is possible to ________ a function, so that it has the same signature and return type in both the base class and derived classes, but has different functionality when called for different classes. |
| |
| | Inheritance is represented by a(n) “__-_” relationship - an object or a derived class also can be treated as an object of its base class. |
| |
| | Base-class members with this access specifier may be accessed by members and friends of the base class and by members and friends of any derived classes. |
| |
| | Polymorphism is implemented through _______ functions. |
| |
| | A form of software reuse in which you create a class that absorbs an existing class’s data and behaviors, and adds new capabilities. |
| |
| | Represented by a “has-a” relationship - an object contains one or more objects of other classes as members. |
| |
| | Inheritance is a form of software reuse, which reduces development “____ and ____” |
| |
| | Type of inheritance in which every object of a derived class is also an object of that derived class’s base class, but base-class objects are not objects of their derived classes. |
| |