【单选题】若有以下程序:的运行结果: class Array{ public static void main(){ int []a={1,2,4,3}
【单选题】若有以下程序:的运行结果: class Array{ public static void main(){ int []a={1,2,4,3}; try{ for(int i=0;i<a.lenth;i++){ int a1="a[i]/a[i+1];}" }catch(airthmeticexception e){system.out.println(“airthmeticexception”);} catch(indexouterofboundsexception ){ system.out.println(“indexouterofboundsexception”);} }} 则程序运行结果为(> A、AirthmeticException
B、IndexOuterOfBoundsException
C、无显示
D、编译错误