Which of these is the interface of legacy is implemented by Hashtable and Dictionary classes?
A. Map
B. Enumeration
C. HashMap
D. Hashtable
Answer:A
Which of these is the interface of legacy is implemented by Hashtable and Dictionary classes?
A. Map B. Enumeration C. HashMap D. Hashtable
Explanation: Dictionary, Map & Hashtable all implement Map interface hence all of them uses keys to store value in the object.