Check out the source code of java.lang.Object, inside the src.zip file you can find in your JDK folder.
But since I'm such a nice guy I looked it up for you. This is the current implementation of Object.toString():
So not exactly the location (as that's not available in
Java), but the hash code. By default that is something probably based on the memory location but it can of course be overridden.