On Jun 27, 10:45 pm, Dan <[email protected]> wrote:
> while (i<names.length)
> {i++;
Move the line above
> if (names[i].equals(searchName)){
> foundName = true;
> break;
> }
just here
> }
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---