Multiple Choice
If the override specifier is added to the end of a member function declaration,what happens if the function is not specified as virtual in the parent class?
A) The function is overridden in the derived class.
B) There is a compiler error.
C) The function in the parent class will always be invoked.
Correct Answer:

Verified
Correct Answer:
Verified
Q16: Write a short program that shows how
Q17: Upcasting causes no problems
Q18: Late binding refers to a failure to
Q19: Only member functions can be virtual.
Q20: The virtual property is not inherited.
Q22: The virtual function mechanism binds the "right"
Q23: It is useful to define a class
Q24: Why do you not get an undefined
Q25: Explain the difference between virtual functions,late binding,and
Q26: Virtual functions allow old code to call