| Author |
Very simple question
|
Vlada Den
Ranch Hand
Joined: Dec 19, 2004
Posts: 32
|
|
Hi! How can I change this line, so "only tabs would separate the values in toString()", as teacher wrote to me: public String toString() { return("UserID: " + userID + "\t Name: " + name + "\t TelephoneNo: " + telephoneNo); } } Thanks a lot in advance, Vlada
|
 |
Mike Gershman
Ranch Hand
Joined: Mar 13, 2004
Posts: 1272
|
|
|
Do you mean changing "\t Name: " to "\tName: " or "\tName:"?
|
Mike Gershman
SCJP 1.4, SCWCD in process
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: Very simple question
|
|
|