Is there a way to walk through step by step to see what var values are. Specifically a for loop? In command prompt and net beans, is there a lesson on this? Sent on the Sprint® Now Network from my BlackBerry®
-----Original Message----- From: "David Seto" <[email protected]> Date: Wed, 22 Jul 2009 11:04:30 To: <[email protected]> Subject: [java programming] Lab 1034 Hello all on lab 1034 homework assignment When I run the program and type in the 1st name on the list "Beah" no problem. Name found on the list and the program is finished. When I rerun the program and type in the 2nd name on the list "Bianca" the program gets stuck . Here's part of the program does it have to deal with the location of the i++? int i = 0; while (i<names.length) if (names [i].equals(searchName)) { foundName = true; break; } {i++; } --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
