Hi all,

I´ve just finished LAB-1011 and it works fine. There´s just one thing I
´m uncertain of.
This is the signature of my method:

    public static void generateNewName(String[] arr, int counter)

The exercise demands an array of String as parameter for
generateNewName. But is it okay to add a second parameter (just like I
did with "counter")? Or is it only allowed to have one parameter?

In my method, "counter" is needed for the length of the newly built
string. That means, if I have 3 firstnames then counter is 3 and so
on. Or is there another way to pass forward this information and
declaring this parameter is obsolete?

If it´s okay to use 2 parameters just as described above then my
homework is complete.
Please let me know your thoughts.

Kind regards

Frank

--~--~---------~--~----~------------~-------~--~----~
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