Object-oriented programming in Java.
In a subclass, an instance method with same sign (name, number & parameter type) & return type, as instance method overrides method of superclass.
Subclass has an ability to override method which permits class for inheritance, from superclass. Superclass has a behavior which is considered to be close enough and then behavior is modified as per requirement. Overriding method consist of similar parameter types, return type, number and name, as method that it overrides. Type’s