wood burning stoves 2.0*
The moose likes Java in General and the fly likes toString( ) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "toString( ) " Watch "toString( ) " New topic

toString( )

Giselle Dazzi
Ranch Hand

Joined: Apr 20, 2003
Posts: 168
Hi all,
Im trying to pass a class thru a socket and it will only work if I remove my toString( ) method.
Does anybody know of any issue in using the toString( ) method in a Serializable class ?

Giselle Dazzi<br />SCJP 1.4
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
Hi Giselle
This doesn't sound logical. Can you please post the exception or error you might be getting?
Giselle Dazzi
Ranch Hand

Joined: Apr 20, 2003
Posts: 168
Yeah, you are right. It was something wrong I was doing. Thanks !
I agree. Here's the link: http://aspose.com/file-tools
subject: toString( )
Similar Threads
Turn an String array all into one String?
Why do String class have toString method?
Storing serialized objects
how System.out.println(ArrayList al) works?