Creates a new empty ArrayList.
Creates a new empty ArrayList with the specified initial capacity.
Capacity is the maximum number of elements the list is able to store in current backing storage. When the list gets full and a new element can't be added, its capacity is expanded, which usually leads to creation of a bigger backing storage.
IllegalArgumentException - if initialCapacity is negative.