Skip to main content

ArrayList (Dynamic Array) in JAVA

Body

ArrayList(dynamic array) in JAVA

In this tutorial you will learn 1) What is an ArrayList? 2) Why we use ArrayList? 3) How we use ArrayList? What is an ArrayList? ArrayList is a data structure. The ArrayList is java class that is extended from AbstractList class. It is actually an array but the property that makes it different from the ordinary array is that its size can be changed dynamically. The ordinary array’s size in unchangeable once defined. But in case of array list the size of array increases as we elements inside the array and decreases when an element from the

Add new comment

Code File
File attachments
Screenshot