A map is an interface for ADT in Java, the same general language-independent data structure for supporting <key, value> pairs, and introduced in Java 1.2.
A dictionary (not a Map implementation) is an abstract class for the same purpose that was introduced earlier in JDK 1.0. Its only subclass is Hashtable, which itself implements Map. However, now the dictionary class is out of date, and you can forget it.
There are differences between Map and Dictionary function members, however you may find the difference between HashMap and Hashtable more useful. here you can find the differences.
masec Nov 07 '16 at 12:14 2016-11-07 12:14
source share