Object Oriented Programming Using C++ - Section 7 Multiple Questions and Answers.
Exercise Questions ::
Object Oriented Programming
41. | The keyword virtual indicates that |
| |
| A. | a derived class has public access to a base class |
| B. | more than one base class exists |
| C. | a base class should be used only once in inheritance |
| D. | a derived class should have more than one base class constructed |
|
|
Published by:Michael Daani
42. | If you declare two objects as Customer firstCust, secondCust; which of the following must be true? |
| |
| A. | Each object will store a separate copy of any static member data |
| B. | Each object will store a separate copy of any member functions |
| C. | Each object will store a separate copy of any nonstatic data members |
| D. | You cannot declare two objects of the same class |
|
|
Published by:Michael Daani
«