Object Oriented Programming Using C++ - Section 7 Multiple Questions and Answers.
Exercise Questions ::
Object Oriented Programming
1. | To execute a C++ program, you first need to translate the source code into object code. This process is called |
| |
| A. | coding |
| B. | compiling |
| C. | sourcing |
| D. | translating |
|
|
Published by:Michael Daani
Published by:Michael Daani
Published by:Michael Daani
4. | The program can access the private members of a class |
| |
| A. | directly |
| B. | only through other private members of the class |
| C. | only through other public members of the class |
| D. | None of the above - the program cannot access the private members of a class in any way |
|
|
Published by:Michael Daani
5. | To hide a data member from the program, you must declare the data member in the _____ section of the class |
| |
| A. | concealed |
| B. | confidential |
| C. | hidden |
| D. | private |
|
|
Published by:Michael Daani
»