if two methods in the same class have the same name but different parameters, then the method is 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
}