How to use different Maps in Java
Here I will be talking about HashMap, HashTable and TreeMap, all of which implement the Map interface
To start with, HashMap and HashTable both implements Map interface and looks similar, however there are significant differences between their…