Advertisements
Advertisements
Question
What do you mean by overriding?
Short Note
Solution
When a derived class member function has the same name as that of its base class member function, the derived class member function shadows/hides the base class’s inherited function. This situation is called function overriding.
shaalaa.com
Overriding / Shadowing Base Class Functions in Derived Class
Is there an error in this question or solution?