ArrayList
is resizable Array implementation in Java. This class provides
implementation for all the methods in List interface. This class is
equivalent to Vector, the only difference is vector is synchronized,
where as ArrayList not.
Each
ArrayList instance has a capacity, as elements are added to an
ArrayList, its capacity grows automatically. The capacity is the size
of the array used to store the elements in the list. It is always at
least as large as the list size.
Prevoius Next Home
No comments:
Post a Comment