List, Set, Map Flashcards
1
Q
- is an ordered collection of elements that allows you to store, access, and manipulate data
- allows duplicate elements in the list
- can grow or shrink dynamically
A
List
2
Q
- is an unordered collection of unique elements that allows you to store, access, and manipulate data
- does NOT allow duplicate elements in the set
- can grow and shrink dynamically
A
Set
3
Q
- sorted, an implementation of the Set interface that stores its elements in ascending order
- does NOT allow duplicate elements in the set
- does NOT allow NULL elements
A
TreeSet
4
Q
- unordered, is an implementation of the Set interface that uses a hash table to store its elements
- duplicate values are NOT allowed
- allows NULL elements
- can grow and shrink dynamically
A