This is a discussion on Difference between hashcode() and equals()... within the Java forums, part of the Programming Talk category; I have tried so many times to find the difference...but not getting a satisfactory explanation.... can anybody explain with ...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
hashcode is an integer number which is provide to each object by jvm note that this is not address of object but for convencing internally they use
equals() is used to compare the objects it returns boolean value if any doubt then pls ask |
![]() |
| Thread Tools | |
|
|