ArrayList
Also written: ArrayList<>
The most common kind of `List`: an ordered collection that grows and shrinks as you add and remove elements, like a shopping cart. You create one with `new ArrayList<>()`.
Also written: ArrayList<>
The most common kind of `List`: an ordered collection that grows and shrinks as you add and remove elements, like a shopping cart. You create one with `new ArrayList<>()`.