+ 3
How is ArrayList stored in memory and how does it work when its size is full?
ArrayList memory management
2 Réponses
+ 4
Perfect one 🔱DEEPU🔱 , but it does not increase the memory twice its initial capacity.
Formula of it is : current capacity * 3/2 + 1
ArrayList has performance issues when its size grows and its not recommended to use when not required!