0
why needed Generic Class ARRAYLIST while we can make array of wrapper classes and other ??
2 Réponses
+ 4
An ArrayList is mutable and an array is not. You can not change the length of an array without creating a new one in memory. This means that you can't delete/add an element from/to an array without creating a new array. This means that an ArrayList is more dynamic.
0
Thnkss a lot