To help prevent errors, apply C++11's ________ keyword to the prototype of every derived-class function that overrides a base-class virtual function.
A) virtual
B) abstract
C) overridable
D) None of the above.
Correct Answer:
Verified
Q8: The main difference between a pure virtual
Q9: Downcasting enables:
A) A derived-class object to be
Q10: Which of the following statements about virtual
Q11: Employee is a base class and HourlyWorker
Q12: What mistake prevents the following class declaration
Q14: An abstract class will:
A) Have all zero
Q15: Problems using switch logic to deal with
Q16: Which of the following statements about polymorphism
Q17: Which of the following is not allowed?
A)
Q18: Polymorphism is implemented via:
A) Member functions.
B) virtual
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