Term
19. A derived class inherits the __________ of its base class. |
|
Definition
|
|
Term
20. When both a base class and a derived class have constructors, the base class s constructor is called __________ (first/last). |
|
Definition
|
|
Term
21. When both a base class and a derived class have destructors, the base class s constructor is called __________ (first/last). |
|
Definition
|
|
Term
22. An overridden base class function may be called by a function in a derived class by using the __________ operator. |
|
Definition
scope resolution operator |
|
|
Term
23. When a derived class redefines a function in a base class, which version of the function do objects that are defined of the base class call? __________ |
|
Definition
|
|
Term
24. A(n) __________ member function in a base class expects to be overridden in a derived class. |
|
Definition
|
|
Term
25. __________ binding is when the compiler binds member function calls at compile time. |
|
Definition
|
|
Term
26. __________ binding is when a function call is bound at runtime. |
|
Definition
|
|
Term
27. __________ is when member functions in a class hierarchy behave differently, depending upon which object performs the call. |
|
Definition
|
|
Term
28. When a pointer to a base class is made to point to a derived class, the pointer ignores any __________ the derived class performs, unless the function is __________. |
|
Definition
|
|
Term
29. A(n) __________ class cannot be instantiated. |
|
Definition
|
|
Term
30. A(n) __________ function has no body, or definition, in the class in which it is declared. |
|
Definition
|
|
Term
31. A(n) __________ of inheritance is where one class is derived from a second class, which in turn is derived from a third class. |
|
Definition
|
|
Term
32. __________ is where a derived class has two or more base classes. |
|
Definition
|
|
Term
33. In multiple inheritance, the derived class should always __________ a function that has the same name in more than one base class. |
|
Definition
|
|
Term
38. T F The base class s access speci cation affects the way base class member functions may access base class member variables. |
|
Definition
|
|
Term
39. T F The base class s access speci cation affects the way the derived class inherits members of the base class. |
|
Definition
|
|
Term
40. T F Private members of a private base class become inaccessible to the derived class. |
|
Definition
|
|
Term
41. T F Public members of a private base class become private members of the derived class. |
|
Definition
|
|
Term
42. T F Protected members of a private base class become public members of the derived class. |
|
Definition
|
|
Term
43. T F Public members of a protected base class become private members of the derived class. |
|
Definition
|
|
Term
44. T F Private members of a protected base class become inaccessible to the derived class. |
|
Definition
|
|
Term
45. T F Protected members of a public base class become public members of the derived class. |
|
Definition
|
|
Term
46. T F The base class constructor is called after the derived class constructor. |
|
Definition
|
|
Term
47. T F The base class destructor is called after the derived class destructor. |
|
Definition
|
|
Term
48. T F It isn t possible for a base class to have more than one constructor. |
|
Definition
|
|
Term
49. T F Arguments are passed to the base class constructor by the derived class constructor. |
|
Definition
|
|
Term
50. T F A member function of a derived class may not have the same name as a member function of the base class. |
|
Definition
|
|
Term
51. T F Pointers to a base class may be assigned the address of a derived class object. |
|
Definition
|
|
Term
52. T F A base class may not be derived from another class. |
|
Definition
|
|