Q:

Which statement is true for the class java.util.HashSet?

0

Which statement is true for the class java.util.HashSet?


  1. The elements in the collection are ordered.
  2. The collection is guaranteed to be immutable.
  3. The elements in the collection are guaranteed to be unique.
  4. The elements in the collection are accessed using a unique key.
  5. The elements in the collections are guaranteed to be synchronized.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

The elements in the collection are guaranteed to be unique.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Core Java Multiple Choice Questions And Answers

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What are the two acceptable types for the variable... >>
<< You need to store elements in a collection that gu...