As you have probably figured out by now, regular arrays in Java are of fixed size (an array’s size cannot be changed), so in order to add items dynamically to an array, you need a resizable array . In Java, resizable arrays are implemented as the ArrayList class ( java. util. ArrayList ).