Which of the following are true?
A) constructors of the base class are inherited in the derived class.
B) you may not call the base constructor from the derived class
C) You must define constructors in both the base and derived classes
D) all of the above
E) none of the above
Correct Answer:
Verified
Q30: C++ implements polymorphism by waiting until run-time
Q31: Using virtual functions is also known as
Q32: A base class pointer variable can point
Q33: Give a base class with at least
Q34: If you have the following class definitions,
Q36: If a base class has a public
Q37: Using inheritance allows us to
A) eliminate duplicate
Q38: When deriving a class, you should
A) list
Q39: Another name for the base class is
A)
Q40: If the member variables in a base
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