1.

Which of this interface must contain a unique element?(a) Set(b) List(c) Array(d) CollectionThis question was posed to me in final exam.I'm obligated to ask this question of Collections Interface topic in chapter java.util – The Collections Framework of Java

Answer»

Correct choice is (a) SET

The explanation: Set INTERFACE extends collection interface to handle SETS, which must contain unique elements.



Discussion

No Comment Found

Related InterviewSolutions