import java.lang.*; public class mol{ public static void main( String args[]){ new Test().doOverLoad(); } } class Test{ public void doOverLoad(){ int x = 7; double y = 11.4; System.out.println(square(x) + "\n"+ square(y)); } public int square(int y){ return y*y; } public double square(double y){ return y*y; } }