This is an ArrayList, not an Array.
While you have defined the initial capacity, it is still empty until you put something in it.
The initial capacity is used for determining the supported size behind the scenes so that you can reduce the time spent resizing the data structure behind the scenes if you already know (or have a good idea of) the number of items going into the ArrayList