image_pdfimage_print

package problemas;
public class Problemas {
public static void main(String[] args) {
int num1, num2;
try {
num1 = 0;
num2 = 62 / num1;
System.out.println(num2);
}
catch (ArithmeticException e) {
System.out.println(«Operacion no definida»);
}
catch (Exception e) {
System.out.println(«Exepcion ocurrida»);
}
System.out.println(«Operacion terminada»);
}

}

image_pdfimage_print