You should use firstName, not firstName[0], since the firstName is
selected each time in the loop.


On Jul 22, 3:22 pm, Kaka madiba <[email protected]> wrote:
> You should use firstName[0], since the first name will be at index of 0. Your 
> error comes up when j =2.

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to