728by90ad
Object Oriented Programming Using C++ - Section 8 Multiple Questions and Answers.
Exercise Questions ::
Object Oriented Programming
6. | Reference variables and const class members _____ |
| |
| 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 exist if a class is to be a base class |
|
|
Published by:Michael Daani
7. | You can code a default exception handler by creating a catch block |
| |
| A. | with no arguments |
| B. | with a void argument |
| C. | with an ellipsis as its argument |
| D. | with an argument identical to that thrown |
|
|
Published by:Michael Daani
Published by:Michael Daani
Published by:Michael Daani
10. | When all of the operations in a function contribute to the performance of only one task, a function has |
| |
| A. | singular cohesion |
| B. | tight cohesion |
| C. | functional cohesion |
| D. | sequential cohesion |
|
|
Published by:Michael Daani
«»