Pregunta de entrevista de Mphasis

Round 1 - How does the size of Arraylist increases dynamically?

Respuesta de la entrevista

Anónimo

7 de dic de 2018

Arraylist internally stores array implementation. After each insertion it usually checks whether size needs to increase. If required it always increases 50% size.