File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes what does this mean here? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "what does this mean here?" Watch "what does this mean here?" New topic
Author

what does this mean here?

arun mahajan
Ranch Hand

Joined: Dec 07, 2001
Posts: 305
Hello,
1. what will be the ouput for this means here?
2. I am getting class name and some other information. What is this other information?
my output is as follows:
D:\>java Test
In test
Test@73d6a5
10
regards
Arun
John Dale
Ranch Hand

Joined: Feb 22, 2001
Posts: 399
println(someObject) invokes the toString() method of that object. If you don't override the toString method inherited from the universal base class Object, you the toString() method from Object, which, as I recall, returns the class name followed by a hex code that is typically different for each instance of the object.
arun mahajan
Ranch Hand

Joined: Dec 07, 2001
Posts: 305
Thanks for you reply..Is it memory allocation address?
Arun
Chad Moore
Greenhorn

Joined: Mar 04, 2002
Posts: 7
Yes
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what does this mean here?