java.util.Dictionary
Dictionary is an abstract class in java.util (predecessor of Map interface).It represents a key-value pair data structure.It is obsolete and rarely used in favor of the Map interface (especially HashMap).Hashtable is a concrete subclass of Dictionary. Commonly Used Constructors and Methods Note: Dictionary uses Enumeration, not Iterator. Simple Program — Dictionary via Hashtable Output Problem …