Home / CSE MCQs / JAVA MCQs :: Discussion

Discussion :: JAVA MCQs

  1. Which of these classes implements Set interface?
  2. A.
    ArrayList
    B.
    HashSet
    C.
    LinkedList
    D.
    DynamicList

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    HashSet and TreeSet implements Set interface where as LinkedList and ArrayList implements List interface.


Be The First To Comment