Capgemini Interview Question

How does ArrayList reassemble its size once a threshold number of elements is achieved.