Home / CSE MCQs / JAVA MCQs :: Discussion

Discussion :: JAVA MCQs

  1. Which of these method is used to remove all keys/values pair from the invoking map?
  2. A.
    delete()
    B.
    remove()
    C.
    clear()
    D.
    removeAll()

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    remove()


Be The First To Comment