Which of the following statements about virtual functions is false?
A) They allow the program to select the correct implementation at execution time.
B) They can use either static or dynamic binding, depending on the handles on which the functions are called.
C) They do not remain virtual down the inheritance hierarchy.
D) They can be called using the dot operator.
Correct Answer:
Verified
Q5: Virtual functions must:
A) Be overridden in every
Q6: Abstract classes:
A) Contain at most one pure
Q7: Virtual destructors must be used when:
A) The
Q8: The main difference between a pure virtual
Q9: Downcasting enables:
A) A derived-class object to be
Q11: Employee is a base class and HourlyWorker
Q12: What mistake prevents the following class declaration
Q13: To help prevent errors, apply C++11's _
Q14: An abstract class will:
A) Have all zero
Q15: Problems using switch logic to deal with
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