Java, Spring, Microservices, Interview, Coding.
using equals() method Map knows how to handle hashing collision (hashing collision means more than one key having the same hash value, thus assigned to the same bucket). In that case objects are stored in a linked list, refer figure for more clarity. Where hashCode() method helps in finding the