Chapter 13: Problem 1
Fill in the blanks in each of the following statements: a. Treating a base-class object as a(n) ________ can cause errors. b. Polymorphism helps eliminate _________ logic. c. If a class contains at least one pure virtual function, it is a(n) __________ class. d. Classes from which objects can be instantiated are called ________ classes. e. Operator _________ can be used to downcast base-class pointers safely. f. Operator typeid returns a reference to a(n) _________ object. g. _________ involves using a base-class pointer or reference to invoke virtual functions on base-class and derived-class objects. h. Overridable functions are declared using keyword _________ . i. Casting a base-class pointer to a derived-class pointer is called _________ .
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.