In Eclipse, when debugging, I saw a number appended to the variable like
com.blah.blah.blah@82963fb
what does 82963fb mean? Is it the memory address?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is the hexadecimal rendering of the “identify hash code” value for the object. It is the value returned by the
System.identityHashCode(Object)method. This method is also used to provide the default hashcode value for objects whose class hasn’t overridden theObject.hashcode()method .It is not necessarily the object’s memory address, but in practice there is a relationship between the identity hash code and >>a<< memory address for the object. (The value is typically based on the object’s address at the time the method is first called. The object’s address may then change, but the hashcode value won’t.)
(The entire string is produced by the default
Object.toString()method. The part before the@is the fully qualified class name of the object.)