(1) method overloading is a means of allowing classes to handle different types of data in a uniform manner. Multiple functions with the same name exist at the same time, with different number/types of parameters.
Overloaded overloading is a representation of polymorphism in a class.
(2) Java's method overloading is the ability to create multiple methods in a class that have the same name but have different parameters and different definitions.
The method is called polymorphism by the number of different arguments passed to them and by the type of parameter to determine which method to use.
(3) When overloading, the method name is the same, but the parameter type and number are different, the return value type can be the same or different. The return type cannot be used as a distinguishing criterion for overloaded functions.
In the actual test, it is found that, as the 2nd overloading occurs, depending on the number of arguments passed to method and the parameter type to determine which method to use, when the return type is the same and the number of parameters and the type can not be compiled and run.
Overloading in Java