• 2022-07-22
    try{ int x = 0; int y= 5; int z = y/x; }catch(_______________){ System.out.println("除数不能为0"); } 横线处应填写什么?
    A: ArrayIndexOutOfBoundsException
    B: IOException e
    C: NumberFormatException e
    D: ArithmeticException e