0 votes
in Education by (1.7m points)
Which of these interface declares core method that all collections will have?

(a) set

(b) EventListner

(c) Comparator

(d) Collection

I got this question in an international level competition.

I want to ask this question from Collections Interface in division 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.7m points)
Right answer is (d) Collection

To explain I would say: Collection interfaces defines core methods that all the collections like set, map, arrays etc will have.

Related questions