Object Oriented Programming Using C++ - Section 6 Multiple Questions and Answers.
Exercise Questions ::
Object Oriented Programming
Published by:Michael Daani
22. | The general principle underlying object-oriented error handling is that a called function should __? |
| |
| A. | neither check for, nor handle errors |
| B. | check for errors but not be required to handle any detected |
| C. | handle errors, but not check for them |
| D. | both check for and handle errors |
|
|
Published by:Michael Daani
23. | Reference variables and const class member |
| |
| A. | must be assigned values in any derived class |
| B. | must never be initialized in a base class |
| C. | must be initialized, rather than assigned values |
| D. | must not exit if a class is to be a base class |
|
|
Published by:Michael Daani
24. | The actual arguments cannot he |
| |
| A. | a constant or a variable |
| B. | of a different type from the corresponding formal arguments |
| C. | other functions |
| D. | expressions |
|
|
Published by:Michael Daani
Published by:Michael Daani
«»