Skip to content

Commit 82d83cd

Browse files
committed
update
1 parent 48efaf7 commit 82d83cd

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

JavaArrayList/Readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## Java ArrayList
2+
Java ArrayList class uses a `dynamic array` for storing the elements. It is like an array, but there is no size limit. We can add or remove elements anytime. So, it is much more flexible than the traditional array. It is found in the `java.util` package. It is like the `Vector` in C++.
3+
4+
The ArrayList in Java can have the duplicate elements also. An ArrayList class extends `AbstractList` class which implements `List interface`. The List interface extends the `Collection` and `Iterable interfaces` in hierarchical order.

0 commit comments

Comments
 (0)