Multiple Choice
We need to ensure that the private member variables that are inherited from the base class are initialized when a ____ of the derived class executes.
A) destructor
B) constructor
C) copy constructor
D) friend function
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q11: For a base class to give access
Q12: Private members of a base class can
Q13: In _, one or more members of
Q14: A(n) _ typically serves to initialize the
Q15: When you declare a derived class object,
Q17: If there are three classes, shape, circle,
Q18: The definitions of member functions can be
Q19: In single inheritance, the derived class is
Q20: The function that overloads any of the
Q21: In single inheritance, the derived class is