Home » JAVA Programming » Collections » Question
  1. Which of these method of HashSet class is used to add elements to its object?
    1. insert()
    2. addFirst()
    3. Add()
    4. add()
    5. None of these
Correct Option: D

add()



Your comments will be displayed only after manual approval.