Home »
MCQs »
OOPs MCQs
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?
- True
- 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.