搜题
问题   更新时间2024/4/6 8:54:00

以下程序运行结果是( )public class Ex20 { public int div(int a, int b) { try { retura / b; }catch (ArithmeticExceptioe) { System.out.print(" ArithmeticExceptio"); }catch(Exceptioe){ System.out.print(" Exception"); } finally { System.out.print("finally"); } retur0; } public static void main(String[] args) { Ex20 demo = new Ex20();System.out.print(" 商是:" + demo.div(9, 0)); }}
·Exceptiofinally 商是:0
·ArithmeticExceptiofinally 商是:0
·finally商是:0
·编译报错

单选题
·ArithmeticException finally 商是:0
王老师:19139051760(拨打)