aspose 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
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?
 
Similar Threads
can we able to refer a static variable using an object
In Consturctor, calling Static method doubt
javac and classpath doubt
System.out.println(this)?
Using this to reference static variables