New to Java, Arrays- index out of bounds

Printable View