Chapter 15 Polymorphism and Virtual Functions
type cast
A base class pointer needs a(n) ________ to be assigned to a derived class pointer.
abstract class
A class that cannot be instantiated is a(n) _______.
abstract class
A class with at least one pure virtual member function is called a(n) ______.
Application Framework
A collection of abstract classes defining an application in skeletal form is called a(n) _______.
pure virtual
A member function of a class that is not implemented is called a(n) _______ function.
run
Dynamic binding takes place at ______-time.
inheritance
If every C1 class object can be used as a C2 class object, the relationship between the two classes should be implemented using _______.
virtual
In order to use dynamic binding, a member function of a class needs to be declared as a(n) _____ function.
compile
Static binding takes place at _______ time.
polymorphism
The ability of code to execute differently depending on the type of data is called ______.
composition
The has-a relation between classes is best implemented using the mechanism of class _______.
inheritance
The is-a relation between classes is best implemented using the mechanism of class _______.