Home » JAVA Programming » Data Structures » Question
  1. Set has contains(Object o) method.
    1. False
    2. True
    3. False and True both
    4. All of Above
    5. None of these
Correct Option: B

Set has contains(Object o) method instead of get(Object o) method as get is needed for comparing object and getting corresponding value.



Your comments will be displayed only after manual approval.