File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Joined: Dec 24, 2007
Jul 08, 2008 22:26:00
How many purposes are there for toString().One I know is to give meaning to an object, despite getting any ununderstandable code.
Tell me other uses.
Joined: Oct 13, 2005
Jul 09, 2008 09:41:00
Isn't that enough for it to do? I trust you have read
about it in the Object class?
Joined: Nov 07, 2000
Jul 09, 2008 11:10:00
toString() has one and only intention is to give a meaning human understandable
to an Object.
It is sorta covered in the
JavaRanch Style Guide
why new date() prints date ?????
finding the servlet's base host
Printing object location Not contents
How to get body-content value in my custom tag?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014