publicclassSobreCarga{staticclassOperaciones{publicstaticintelevarAlCuadrado(intnum){returnnum*num;}publicstaticfloatelevarAlCuadrado(floatnum){returnnum*num;}publicstaticdoubleelevarAlCuadrado(doublenum){returnnum*num;}}publicstaticvoidmain(String[]args){System.out.println("Elevando un entero "+Operaciones.elevarAlCuadrado(3));System.out.println("Elevando un double "+Operaciones.elevarAlCuadrado(5.5));System.out.println("Elevando un float "+Operaciones.elevarAlCuadrado(3.0f));}}