Tag - java array index out of bound exception with example