Java · ArrayList and wrapper classes

Arrays or ArrayList?

Arrays and lists hold the same kinds of data, and knowing how many values will come decides which one fits.