Object Oriented Programming Using C Plus Plus - Study Mode
[#101] When the function void someFunction(int x) throw(char) is executed,_____
Correct Answer
(C) it may throw a character
[#102] When accessing a structure member, the identifier to the left of the dot operator is the name of
Correct Answer
(C) a structure variable
[#103] Assume that a program contains a programmer-defined void function. When C++ encounters the function's closing brace (}), C++ returns to the statement _____
Correct Answer
(C) immediately below the statement that called the function
[#104] Inheritance occurs when a class adopts all the traits of _________
Correct Answer
(B) a parent class
[#105] Template classes that have already been written to perform common class tasks are called _____
Correct Answer
(A) container classes