Quote:
Originally Posted by moist
Also, how can I create a string to hold multiple values in a single parameter and call those values individually with a return statement?
for example: String name = new String ("Frank Herbert", "Mary Kolly", "Mike Polisi");
then call each name with a return statement.
|
You can make an array of Strings.
http://java.sun.com/docs/books/tutor...ts/arrays.html
and the return would be: