看板 [ java ]
討論串請問java.lang.IndexOutOfBoundsException?
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者pugboy時間11年前 (2013/03/28 14:39), 編輯資訊
1
0
0
內容預覽:
不好意思請問各位大大. 我的Code原始碼如下:. 可是卻出現錯誤訊息?. Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 6. at GradeSystem.<init>(Ccc.java:21). at C
(還有1773個字)

推噓2(2推 0噓 0→)留言2則,0人參與, 最新作者PsMonkey (痞子軍團團長)時間11年前 (2013/03/28 14:59), 編輯資訊
1
0
1
內容預覽:
String foo[] = new String[2048];. foo = wtf();. System.out.println(foo[6]);. String[] wtf() {. return new String[5];. }. 不知道我在講什麼,那就把你的程式碼每行都寫註解. 我之前已
(還有62個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者JeremyJoung (J.J.)時間11年前 (2013/04/03 19:05), 編輯資訊
0
0
0
內容預覽:
這其實容易判斷阿. : : Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 6. : : at GradeSystem.<init>(Ccc.java:21). Ccc.java的第21行 發生陣列溢出大小[6
(還有92個字)
首頁
上一頁
1
下一頁
尾頁