If the member variables in a base class are marked as private, can a derived class directly access those variables?
Correct Answer:
Verified
Q15: The constructor for a class is inherited.
Q16: The copy constructor from the base class
Q17: Destructors are not inherited into the derived
Q18: The derived class may define variables and
Q19: Which is more general, the base class
Q21: In the derived class definition, you list
Q22: A derived class pointer can point to
Q23: If you define a function in the
Q24: If a base class has public member
Q25: If a base class has declared a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents