Originally posted by Song Gao:
Then, I draw a conclusion that there is nothing but a contract between equals() and hashCode.
The remaining is how the method equals(Object o) in class Object be implemented, by comparing two objects' memory address?
Howdy
Song Gao,
I welcome you in Ranch, But unfortunately your name doesn't meet with naming policy.Please change your Screen Name accoding to Naming Policy of JAVA Ranch.
Moderators: Please take care of this Name.
Song---Song(Same as English
Word)
Gao----Sing (
Gao means
Sing in english)
So that means
Sing a Song.
Please take care of this issue.
[ October 06, 2006: Message edited by: A D Sharma ]