Example 1: Overloading – Different Number of parameters in argument list . In the above example – method disp() is overloaded based on the number of parameters – We have two methods with the name disp but the parameters they have are different. Both are having different number of parameters.