The protected access specifier is needed only when ___________ is needed.
A. inline function.
B. file.
C. friend function.
D. inheritance.
ANSWER: D
The protected access specifier is needed only when ___________ is needed. Read More »
A. inline function.
B. file.
C. friend function.
D. inheritance.
ANSWER: D
The protected access specifier is needed only when ___________ is needed. Read More »
A. private.
B. protected.
C. public
D. inherited.
ANSWER: C
A. class.
B. object.
C. variable.
D. pointer.
ANSWER: B
An _____________ is a instance of class. Read More »
A. Class.
B. Array.
C. Pointer.
D. Variable.
ANSWER: A
__________ declaration defines a new type that links code and data. Read More »
A. ::.
B…
C. ->.
D. *.
ANSWER: A
___________ operator links a class to a member. Read More »
A. eof().
B. getline().
C. putline().
D. clear().
ANSWER: A
The ___________ is the function that detects the end of file. Read More »
A. code inside loop may not be executed.
B. program terminates.
C. code inside loop may be executed atleast once.
D. shows error.
ANSWER: A
If the condition in a for loop is false then Read More »
A. data.
B. code.
C. function.
D. instance variables.
ANSWER: D
Each object has its own copies of the class Read More »
A. Int.
B. Float.
C. Bool.
D. Void.
ANSWER: D
_________ type specifies a valueless expression. Read More »
A. Unsigned.
B. Positive.
C. Negative.
D. Signed.
ANSWER: D
________ integer can hold both positive and negative values. Read More »