Overloaded Methods




Overloaded Methods are methods in the same (or super class) class that have the same name (identifier), but have something different in their parameter list (different signatures).

Examples:


In the Math class, there are four different abs methods (functions).
One takes an int, one a long, one a double, and one a float as the parameter.
Note that the return types match the parameter type, although that is 
not always necessary.




  • A Good Website