Ok it dawned on me to just place the for loop in the same class as the array. This works, however b/c the array is 200 elements large it has 197 null fields.
That produces this error
Exception in
thread "main" java.lang.NullPointerException
at Newinv.getWhole(newinv.java:41)
at Option.userInput(option.java:61)
at Run.main(run.java:12)
Actually, I think I just had another dawn, as I am writing this. I am going to add a condition to check for null. that should work...