0

Array or list?

What is the difference between an array and a list

30th Oct 2016, 4:13 PM
Dilip Kumar
Dilip Kumar  - avatar
1 Answer
+ 1
List can change size dynamically when initialized. You can add more an more items in list using add() method. You can also add items to any place in the list. Array doesn't have this possibility. Array have fixed size after initializing.
31st Oct 2016, 11:00 PM
Victor IT
Victor IT - avatar