in Education by (1.8m points)
Which of this interface must contain a unique element?

(a) Set

(b) List

(c) Array

(d) Collection

This 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

Select the correct answer from above options

JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by (1.8m points)
Correct choice is (a) Set

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

Related questions

0 votes
asked Oct 24, 2021 in Education by JackTerrance (1.8m points)
...