Hashcode for HashMap not dependent on the hashcode of key added?
Sandeep Kumar B
posted 6 years ago
I was under the impression that hashcode generated for keys is dependent on the hashcode of the object being added as key
But the following program has no effect on hashcode by writing the customer hashcode for the class