If you use the keyword virtual in a function declaration, you must also use it in the function definition.
Correct Answer:
Verified
Q9: A derived class automatically gets all the
Q10: An object of a derived class can
Q11: The base class has everything that is
Q12: Member functions defined as private in the
Q13: The ability to associate multiple meanings to
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
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