Experiencing Java.lang.Array Index Out Of Bounds Exception Error

While coding a java program, I have came across this strange error during the compilation of program saying "Java.lang.ArrayIndexOutOfBoundsException."
I am also pasting my specific fragment of code.
I will be very obliged if responded.
