• 2021-04-14
    (9-3)请阅读程序,然后写出程序运行结果。(请注意输出不换行)
    public class Demo3 {
    public static void main(String[] args) {
    int a=9,b=0;
    double x=9,y=0;
    try {
    int c=a/b;
    }catch(Exception e1) {
    System.out.print("1");
    try {
    double z=x/y;
    }catch(Exception e2) {
    System.out.print("2");
    }finally {
    System.out.print("3");
    }
    }finally {
    System.out.println("4");
    }
    }
    }