What is Method Overriding?
Method overriding is a language feature that allows a subclass to override a specificimplementation of a method that is already provided by one of its super-classes.
A subclass can give its own definition of methods but need to have the same signature as the
method in its super-class. This means that when overriding a method the subclass's method has
to have the same name and parameter list as the super-class's overridden method.
Tags
OOP