Подскажите компилятор пишет ошибку Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 10 out of bounds for length 10 Не могу понять в чем дело?