Which of the following best describes member function overriding?
32 views
- Member functions having the same name in derived class only
- Member functions having the same name in derived class only
- Member functions having the same name in base and derived classes (Correct Answer)
- Member functions having the same name in base class only
Explanation
The member function which is defined in base class and again in the derived class, is overridden by the definition given in the derived class.