The Java Collections Framework provides a set of interfaces and classes to store and manipulate groups of data as a single unit.
List
: Ordered collection (e.g., ArrayList
, LinkedList
)Set
: No duplicates allowed (e.g., HashSet
, TreeSet
)Map
: Key-value pairs (e.g., HashMap
, TreeMap
)ArrayList
when you need fast random access, and LinkedList
for frequent insertions/deletions.