Home / CSE MCQs / JAVA MCQs :: Discussion

Discussion :: JAVA MCQs

  1. Which of these interface declares core method that all collections will have?
  2. A.
    set
    B.
    EventListner
    C.
    Comparator
    D.
    Collection

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    Collection interfaces defines core methods that all the collections like set, map, arrays etc will have.


Be The First To Comment