Object Oriented Programming Using C++ - Section 6 Multiple Questions and Answers.
Exercise Questions ::
Object Oriented Programming
16. | Assuming the following three operators appear in an expression (without parentheses), which of the operators will be performed first? |
| |
| A. | && |
| B. | ! |
| C. | || |
| D. | All of above |
|
|
Published by:Michael Daani
Published by:Michael Daani
18. | If a base class member is private, then |
| |
| A. | if a derived class uses the public access specifier, the data member becomes public |
| B. | if a derived class uses the protected access specifier, the data member becomes protected |
| C. | both (a) and (b) |
| D. | neither (a) nor (b) |
|
|
Published by:Michael Daani
19. | Which of the following instructions tells C++ to merge the source code from the iostream.h file into the current file? |
| |
| A. | #include |
| B. | #include iostream.h |
| C. | #include |
| D. | None of the above |
|
|
Published by:Michael Daani
Published by:Michael Daani
«»