If the virtual function is defined in the base class, it needs not be necessarily redefined in the derived class. - Is this statement true or false?

82. If the virtual function is defined in the base class, it needs not be necessarily redefined in the derived class.
Is this statement true or false?

  1. True
  2. False

Answer: A) True

Explanation:

If the virtual function is defined in the base class, it needs not be necessarily redefined in the derived class. In such cases, calls will invoke the base function.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.