1.

What is the difference between method overriding and overloading?

Answer»
METHOD OverloadingMethod Overriding
In this case, all the parameters MUST be changed.In this case, all the parameters must be the same.
This occurs within a class.This occurs between TWO classes having an INHERITANCE RELATIONSHIP.


Discussion

No Comment Found