Overloading in JAVA
Java provides a way to make functions with one name but passing different types and numbers of arguments.
public int sum(int arg1, int arg2); public Double sum(Double arg1, Double arg2); public float sum(float arg1, float arg2
This way of defining methods in called method overloading in Java.
Check the tutorial Java method overloading.