Advertisements
Advertisements
प्रश्न
What do you mean by overriding?
टिप्पणी लिखिए
उत्तर
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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?