Multiple Choice
To declare class subClass a privately derived class of superClass one would write:
A) class subclass : private superClass
B) class subclass :: private superClass
C) class subclass <private superClass>
D) class subclass inherits private superClass
Correct Answer:

Verified
Correct Answer:
Verified
Q7: When deriving a class from a protected
Q8: Which of the following statements about inheriting
Q9: Select the false statement regarding inheritance.<br>A) A
Q10: When should base class members be declared
Q11: The is-a relationship represents.<br>A) Composition.<br>B) Inheritance.<br>C) Information
Q12: Which forms of inheritance are is-a relationships?<br>A)
Q13: Base class constructors and assignment operators:<br>A) Are
Q15: From most restrictive to least restrictive, the
Q16: Which of the following is not a
Q17: Assuming the following is the beginning of