Exception in thread “main“ java.lang.IndexOutOfBoundsException: Index ...

Exception in thread “main“ java.lang.IndexOutOfBoundsException: Index ...