Java, Spring, Microservices, Interview, Coding.
equals() I have “tricked” HashMap implementation to think that all the keys (even though different) are same, thus overwriting the values. In a nutshell there are three steps in the internal implementation of HashMap put() method- Using hashCode() method, hash value will be calculated. In which