Hello All,

After entering Sudhir's working code into Netbeans IDE 6.51, the following two 
statements prompted errors:

String firstName[] = name[j].split("");

if((j==0)||(max.length()<firstName[0].length()){

I changed the first statement to the following and the error code was removed:

String firstName[] = name[1].split("");

However, with the error code still existing on the if statement, I haven't been 
able to run the application to check results.

Any suggestions will be greatly appreciated!

Thanks, Joe
--~--~---------~--~----~------------~-------~--~----~
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