C++ For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming
|
| < Day Day Up > |
|
-
Describe in your own words what is meant by the term dynamic polymorphism.
-
How does dynamic polymorphism differ from ad hoc and static polymorphism?
-
What is a pure virtual function?
-
How is a pure virtual function different from an ordinary virtual function?
-
A base class that declares one or more pure virtual functions is known as what type of class?
-
What happens to a derived class if it inherits a pure virtual function but fails to override it?
-
Describe the three different inheritance behaviors achieved through the use of pure virtual, ordinary virtual, and non-virtual functions.
-
Consider the relationship between a base class and a derived class. What type of behavior should the base class implement as compared to the derived class's behavior?
-
How does public inheritance differ from private inheritance?
-
What happens to public base class functions when a derived class privately inherits them?
|
| < Day Day Up > |
|