How HashMap works in Java?

HashMap is an implementation of Map interface, which maps keys to values. A Map cannot contain duplicate keys. We know we can put and get Key-values into HashMap. So, how does HashMap actually works in Java. This post explores a bit about the internal working. Before we jump into details, let’s see some basic terminology […]

Continue reading