Pergunta de entrevista da empresa Capgemini

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