+1 vote
in JAVA by
The difference between List, Set, Map, and Queue in Java?

1 Answer

0 votes
by

The list is an ordered collection which allows duplicate. It also has an implementation which provides constant time index based access, but that is not guaranteed by List interface. Set is unordered collection which

...