wood burning stoves
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 Java Interview Guide 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

what does this mean here?

arun mahajan
Ranch Hand

Joined: Dec 07, 2001
Posts: 305
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
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?
Chad Moore

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