Domanda di colloquio di Mphasis

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

Risposta di colloquio

Anonimo

7 dic 2018

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