Java index 3 out of bounds for length 2
![java index 3 out of bounds for length 2](https://support.pega.com/sites/default/files/collaboration/inline-images/SolutionA.png)
- Java.lang.arrayindexoutofboundsexception index 3 out of bounds for length 2
- Java.lang.indexoutofboundsexception index 0 out of bounds for length 0
- Index 2 out of bounds for length 2
- Index 3 out of bounds for length 3 java
- Exception in thread main java.lang.arrayindexoutofboundsexception index 3 out of bounds for length 3