repetition of 'arguments'(?)
I'm really new to java and have a heap of code that I'm now trying to get acquinted with. Don't know if this is the right place to post this question, but here it is:
System.out.println("User " + ret.name + ret.place);
Which is a line of the code. Not important right now what it does or why, but suppose I want to allow the program to retrieve (which I say "ret." means right?) possibly more than one name/place for a user.
Eclipse (which I'm working in) doesn't really seem to like:
System.out.println("User " + ret.name* + ret.place*);
Can anyone tell me if there is a possibily to do this the above way (and that it's just some incorrect syntax), or that something like that won't work at all and I'll have to find a solution somewhere else in the program.