Hello Everyone | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hello Everyone

Is Array List and Dynamic Array same??

22nd Jan 2020, 8:47 AM
Wasiq Abdullah
2 Answers
+ 1
Programmer</> Dynamic arrays overcome the limitations of static array which have fixed capacity. In Java ArrayList itself is a dynamic array which grows automatically. Although they have an initial capacity but as soon as you make an insertion operation which just goes over the initial capacity then the capacity is automatically doubled.
22nd Jan 2020, 9:03 AM
Avinesh
Avinesh - avatar
+ 2
Yes. Is that all you wanted to ask?
22nd Jan 2020, 8:54 AM
Avinesh
Avinesh - avatar