为什么i<=hobbys.length时会出现如下结果
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3 at HelloWorld.main(HelloWorld.java:11) 循环输出数组中元素的值: sports game movie
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3 at HelloWorld.main(HelloWorld.java:11) 循环输出数组中元素的值: sports game movie
2018-08-03
举报