1.

Which of these classes provide implementation of map interface?(a) ArrayList(b) HashMap(c) LinkedList(d) DynamicListThe question was asked in a national level competition.This intriguing question comes from Java.util in chapter java.util – The Collections Framework of Java

Answer»

Correct ANSWER is (B) HashMap

The EXPLANATION: AbstractMap, WEAKHASHMAP, HashMap and TreeMap provide implementation of MAP interface.



Discussion

No Comment Found

Related InterviewSolutions