The ArrayList is used to keep a number of items indexed by integer.
In this example we fill the first three positions: 0, 1, 2 with "gold", "silver", "wood" - we then insert "bronze" into position 2 - this forces "wood" into position 3.
0 gold 1 silver 2 bronze 3 wood