Java Collection framework provides many interfaces (Set, List, Queue, Deque etc.) and classes (ArrayList, Vector, LinkedList, PriorityQueue, HashSet, LinkedHashSet, TreeSet etc).
-
Readymade architecture, no need to implement functions
-
ArrayList
uses anObject[]
, and makes a bigger array when the array gets full.