1.

Which of the below does not implement Map interface?(a) HashMap(b) Hashtable(c) EnumMap(d) VectorI got this question in quiz.I'd like to ask this question from Data Structures-HashMap in division java.util – The Collections Framework of Java

Answer»

Right answer is (d) VECTOR

Easy explanation: Vector implements ABSTRACTLIST which internally implements Collection. OTHERS COME from implementing the MAP interface.



Discussion

No Comment Found

Related InterviewSolutions