class Method_Overloading { public void show(int x) { System.out.println("In int=" + x); } public void show(String s) { System.out.println("In String=" + s); } public void show(byte b) { System.out.println("In byte=" + b); } } class Example9 { public static void main(String[] args) { byte a = 25; Method_Overloading obj = new Method_Overloading(); obj.show(a); obj.show("hello"); obj.show(250); obj.show('A'); obj.show("A"); //obj.show(7.5); } }