Java · ArrayList and wrapper classes

Making an ArrayList

An array is stuck at the length it was made with; a list that grows can take values as they arrive.