You need to store elements in a collection that guarantees that no

Loading

โœช Choose the correct option.

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?

A. java.util.Map
B. java.util.Set
C. java.util.List
D. java.util.Collection

Leave a Comment