On 2/25/2010 8:07 AM, dendeezen wrote:
Hi,
With the following code I get an ArrayIndexOutOfBoundException, and I
can't figer out why.
(This is a really newby question, I know)
Java told you that an array index was invalid. It *also*
told you what the invalid value was, what line of the program
attempted to use it, what line called the method containing the
offending line, what line called *that* method, and so on. If
that's not enough to tell you "why," you must be looking for a
deeper sort of "why" than I comprehend. With all that Java told
you about the problem, what "why" still troubles you?
--
Eric Sosman
esos...@ieee-dot-org.invalid
You are of no help.