I have just returned to java and coding after being sometime away from it. I have bought a book " Java in easy steps" and have come across a problem where the code I`m asked to enter compiles ok
but when ran it throws an arrayoutoffbounds exception error. I know it`s not me as I`ve cut and pasted the code from the books web site and I get the same error from that code.
The chapter this code comes from is " Passing an argument". Can anyone see what I`m missing,
Please.