Which of the following is true about a derived class?
A) A derived class can directly access any member variable of the base class.
B) A derived class can redefine any public member function of the base class.
C) A derived class can have at most one base class.
D) A derived class can redefine any member function of the base class.
Correct Answer:
Verified
Q28: In _ (aggregation), one or more members
Q29: What is the output of the
Q30: The constructor of a derived class cannot
Q31: If the corresponding functions in the base
Q32: _ is the ability to use the
Q34: Consider the following class definitions:Which of the
Q35: The _ members of an object form
Q36: C++ provides _ functions as a means
Q37: Consider the following class definitions:Which of
Q38: If the derived class classD overrides 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