Home » JAVA Programming » Collections » Question
  1. Which of these is the interface of legacy is implemented by Hashtable and Dictionary classes?
    1. Hashtable
    2. HashMap
    3. Enumeration
    4. Map
    5. None of these
Correct Option: D

Dictionary, Map & Hashtable all implement Map interface hence all of them uses keys to store value in the object.



Your comments will be displayed only after manual approval.