How the Size of the ArrayList Increases Dynamically?

How the Size of the ArrayList Increases Dynamically?