How is hashCode() calculated in Java.

Posted by Jothi on Stack Overflow See other posts from Stack Overflow or by Jothi
Published on 2010-03-11T18:32:05Z Indexed on 2010/03/13 1:27 UTC
Read the original article Hit count: 332

Filed under:
|

What value is hashCode() method is returning in java?. i read that it is an memory reference of an object. when i print hascode value for new Integer(1), its 1. for String(a) - 97. so i confused. is it ascii or what type of value is?

© Stack Overflow or respective owner

Related posts about hashcode

Related posts about java