View Single Post
Old 01-31-2009, 03:14 PM   PM User | #3
moist
New to the CF scene

 
Join Date: Jan 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
moist is an unknown quantity at this point
Thank you very much Deloch. I meant values such as first initials and lastname. for example: F. Hill.

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. Again, thank you very much!


Deloch, i ran the code in jCreator and it coughed up the following error message:

"non-static method getName() cannot be referenced from a static context"

The strange thing is that getName() method is under main so i don't understand why it's coughing up this error message.

Last edited by moist; 01-31-2009 at 07:12 PM..
moist is offline   Reply With Quote