posted 16 years ago
Hi,
Can anyone please explain me the concept of overriding of hashCode()? I'am clear with the concept of overriding of equals() method. But am still not clear with the hashCode(), it will help if you could provide me with some examples. And why is it necessary to override hashCode() along with equal().
thanks