what is overridingwhen a class explains a method


What is Overriding?

When a class explains a method using the similar name, return type, and arguments as a method in its superclass, the method in the class overrides the method in the superclass.

When the method is requested for an object of the class, it is the new description of the method that is called, and not the method explanation from superclass.

 

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: what is overridingwhen a class explains a method
Reference No:- TGS0310980

Expected delivery within 24 Hours