0 votes
in Education by (1.7m points)
Which of these is a Basic interface that all other interface inherits?

(a) Set

(b) Array

(c) List

(d) Collection

The question was asked in an interview for job.

My question is based upon Collections Interface in section 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)
The correct option is (d) Collection

For explanation I would say: Collection interface is inherited by all other interfaces like Set, Array, Map etc. It defines core methods that all the collections like set, map, arrays etc will have

Related questions