Index out of bounds exception means that you are trying to access a index that doesn’t exists.
Say that you have an array with 9 elements. array[9] will be the 10th and it wont exists.
2
solved Array Index out of Bounds, not sure what’s going on (JAVA)