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 interface provides that capability? 

A java.util.Map 

B java.util.Set 

C java.util.List 

D java.util.Collection 

+ Answer
+ Explanation
+ Report
Total Preview: 1283

Copyright © 2024. Powered by Intellect Software Ltd