I am writing a program that uses a scanner to read a file into an array that I then am trying to input into a 2D array. But, when I compile I get this error:
Exce