Diogo, I think the Exercise wants an entire new name formed by taking the second letter from EVERY string.
So, "Christine", "Leo", and "Diogo" would give the name "Hei". Why not? Nice name. Neil Bitzenhofer, CSTP, CSTE Senior Software Engineer Boston Scientific Corporation 4100 Hamline Ave. N. St. Paul MN 55112 (651) 582-6545 e-mail: [email protected] www.bostonscientific.com -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Diogo Oliveira Sent: Thursday, July 23, 2009 11:48 AM To: [email protected] Cc: Free Java Programming Online Training Course By Sang Shin Subject: [java programming] Re: Homework 1011 instruction interpretation? I'd say it's the first interpretation. As you said, the second doesn't make that much sense. On Thu, Jul 23, 2009 at 12:21 AM, Mike Adolf<[email protected]> wrote: > > The homework instructions for 1011 contains the following: > > Write a static method called generateNewName() as following: > * It receives the array of String as a parameter. > * It creates a new first name by taking the 2nd character of each > String from the array > > My question is: If the first name is Christine is the new first name > > Cristine (second letter taken out) > > OR > > h (formed by taking the second character) > > Since "h" doesn't make much sense as a name, I think I'll use the > first interpretation. > > Mike > > > > > -- Diogo Sales Oliveira --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
