I took 5 first names from input, then I took the second letter from each first name and made a new name. Something like this.
First person's first name: John Second person's first name: Ashley Third person's first name: Phillip Fourth person's first name: Angie Fifth person's first name: Randall New first name created by the second letter from each name: Oshna HINT: I used the Javadoc and found a method that has not been mentioned anywhere in any of the literature, and used that. It am pretty sure that it was in the String class. Stephen On Mon, Sep 1, 2008 at 12:11 AM, Parinita Ghorpade < [EMAIL PROTECTED]> wrote: > Hi , > > I just need to know what should be the output for this home work. I have > gone through the previous mails but they were confusing. > This is my output: > start of main method > name is :PARINITA > name is :ANSHUMAN > name is :RAJESHWARI > call to generateNewName method start > start of generateNewName method > start of generateNewName method > call to generateNewName method end > name is :PRINITA > name is :ASHUMAN > name is :RJESHWARI > end of main method > Please tell me if this is what is req. > I will really appreciate your help. > > Parinita > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
