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
Joined: Jan 09, 2003
Aug 11, 2003 09:07:00
When does toString gets fired even if for Class like Integer, Bigdecial
For an eg: System.out.println("Value is" +varInt);
Does all class can be converted to toString
Joined: Feb 27, 2002
Aug 11, 2003 09:21:00
There is a toString method in the super class Object. You can override the method to output meaning info pertaining to the object.
I agree. Here's the link:
subject: Class toString
regarding DateFormat and calender
print random letters(LinkedList)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014