Question: 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
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) Map
(b) Set
(c) List
(d) Collection
Step by Step Solution
3.49 Rating (152 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
