Originally posted by saxena vicky:
Thanks Michael !
But the value return from System.identityHashCode(java.lang.Object), as Object.hascode() are different, why ?
Maybe I should of clarified that as java.lang.Object.hashCode().
They should return different values, as hashCode() is overridden by String (to the method shown above).
Again, why do you want this?