In Java, overloading a method is when you use the same signature for several methods in a class but alter the argument list in each method. Note that although the return types can be altered, overloading is only recognized when the arguments are changed. An example is shown below:
public int add(int[] arr){...}
public double add(double[] arr,double t){...}
public String add(String[] arr){...}