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? - Study24x7
Social learning Network
27 Feb 2023 12:49 PM study24x7 study24x7

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

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles