1.

Map implements collection interface?(a) True(b) FalseI have been asked this question in an international level competition.Enquiry is from Data Structures-HashMap topic in section java.util – The Collections Framework of Java

Answer»

The correct answer is (B) False

Easiest explanation: COLLECTION INTERFACE provides add, remove, search or ITERATE while map has clear, get, put, remove, etc.



Discussion

No Comment Found

Related InterviewSolutions