【单选题】下列程序的输出结果是( )public class Test { public static void main(String[] args) { int[] array = { 2, 4, 6, 8, 10 }; int size = 6; int result = -1; try { for (int i = 0; i size; i++) { if (array[i] == 20) { r...
【单选题】下列程序的输出结果是 () public class Test{ public static void main(String[] args){ int [] array={2,4,6,8,10}; int size=6; int result=-1; try{ for{int i=0;i <=6;i++){ if(array[i]==20) result=i; } catch(Arithmeti...