Page 39 - Abstract Class, Interface & Struktur Data
P. 39
How the ArrayList works
• The ArrayList class has a regular array inside it. When
an element is added, it is placed into the array. If the
array is not big enough, a new, larger array is created to
replace the old one and the old one is removed.