> //Print the new name
> System.out.println("names[" +counter+ "] is now " + names
> [counter]);
Hi,
What i did with printing the new name was to initialize a variable of
string type and just added all the 2nd characters from the names that
i collected.
e.g:
String var = " ";
var = secondCar1 + secondCar2 + secondCar3...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---