English

What do you mean by overriding?

Advertisements

Question

What do you mean by overriding?

Short/Brief Note
Advertisements

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?
Chapter 16: Inheritance - Evaluation - Section - C [Page 273]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 11 TN Board
Chapter 16 Inheritance
Evaluation - Section - C | Q 4. | Page 273
Advertisements
Share
Notifications



      Forgot password?
Use app×