On Sep 1, 6: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.
No, it is not.
The requirement is to create a name, not several names.
You should build this unique name by taking the second character of
each entered name. So, in your case:
First name entered: PARINATA; second character of that name: A;
temporary result name: A
Second name entered: ANSHUMAN; second character of that name: N;
temporary result name: AN
Third name entered: RAJESHWARI; second character of that name: A;
temporary result name: ANA
Result name: ANA
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---