You need to store elements in a collection that guarantees that no duplicates…
PYQ RPSC Programmer 2011
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
Attempted by 2 students.
Sign up free to check your answer
Sign up freeLoading lesson…

