Tagged: overload java method

How to overload java methods by changing data type 0

How to overload java methods by changing data type

Below code shows how to overload java method by changing data type.See also Overloading java methods by changing the number of arguments.   public class MethodOverload { public void sumNumbers(int num1,int num2) { int...