when methods have same name but different parameters code example
Example: same method name with different arguments
class DisplayOverloading
{
public void disp(char c)
{
System.out.println(c);
}
public void disp(char c, int num)
{
System.out.println(c + " "+num);
}
//same method name with different arguments
}