Here, We want to get the meaningfully equal Cats(c1,c2 are equal in our sense)
String that is "A".But this not catching the Cat That have a name as "B",but referring another Cat.So, the Item to the corresponing to the given key is not there(According to JVM),then surely the answar will be null.
Best example given by-- wise owen,Thank you.