java 程序段中有多个catch_一个.java文件里有多个异常,用try-catch处理要怎么处理啊?...
展开全部try{intb=25/0;Thread.sleep(2000);}catch(ArithmeticExceptione){System.out.println("除零错误!");}catch(InterruptedExceptione){System.out.println("延时错误!");}catch(Exceptionex){System.out.println("终极323131