我收到错误
java.lang.IndexOutOfBoundsException: Index: 68, Size: 10
我知道这个错误意味着什么。我尝试读取数组中不存在的位置。但是我不知道这个 Index: 68, Size: 10
这意味着什么..我试图读取只有 10 个位置的数组的位置 68?
最佳答案
what does it means.. that I tried to read the position 68 of an array that has only 10 positions?
正是如此! Index = 9
是您可以访问的最大索引。
关于java - "Index: 68, Size: 10"是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33923445/