May 24, 2019 in JAVA
Q: What is meant by Overloading?

Method overloading happens for different classes or within the same class.

For method overloading, subclass method should satisfy the below conditions with the Super class method (or) methods in the same class itself:

Same method name

Different argument type

May have different return types

Related questions

0 votes
May 24, 2019 in JAVA