Q:

You need to store elements in a collection that guarantees that no duplicates are stored and all elements can be accessed in natural order. Which interface provides that capability?

0

You need to store elements in a collection that guarantees that no duplicates are stored and all elements can be accessed in natural order. Which interface provides that capability?


  1. java.util.Map
  2. java.util.Set
  3. java.util.List
  4. java.util.Collection

All Answers

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

Correct Answer:

java.util.Set

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

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now