这个异常怎么回事啊
woaikkndException in thread "main" java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1
at java.util.Vector.get(Unknown Source)
at my_blog.text.main(text.java:27)
...全文
1417打赏收藏
看看这个是什么问题
这个异常怎么回事啊 woaikkndException in thread "main" java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1 at java.util.Vector.get(Unknown Source) at my_blog.text.main(text.java:27)
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1
=============================================
从错误信息来看,应该是你用下标1去访问某个Array 或者是 vector,但是这个Array 或者 Vector中根本就没有元素。 估计问题出在访问代码上。