int [] my_Array; my_Array = new int[5]; for(int count = 0; count <= 5; count++) System.out.println(my_Array[count]); 结果是()
- A、将1,2,3,4,5输出到屏幕
- B、将0,1,2,3,4输出到屏幕
- C、将0,1,2,3,4,5输出到屏幕
- D、将出现运行时异常
正确答案:D
答案解析:有
微信扫一扫手机做题
int [] my_Array; my_Array = new int[5]; for(int count = 0; count <= 5; count++) System.out.println(my_Array[count]); 结果是()
微信扫一扫手机做题