1.

Which of these is a Basic interface that all other interface inherits?(a) Set(b) Array(c) List(d) Collection

Answer» 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


Discussion

No Comment Found

Related InterviewSolutions