单选题 下列程序的输出结果是{{U}} {{/U}}。 PublicclassTest{ Publicstaticvoidmain(String[]args){ int[]array=(2,4,6,8,10); intsize=6; intresult=-1; try{ for(inti=0;i<size&&result==-1;) if(array[i]==20)result=i; } catch(ArithmeticExceptione){ System.out.println("Catch---1"); } catch(Array IndexOutOfBoundsExceptione){ System.out.println("Catch---2"); } catch(Exceptione){ System.out.println("Catch---3"); } } A.Catch---1 B.Catch---2 C.Catch---3 D.以上都不对
  • 1、
【正确答案】 1、略。    
【答案解析】