Computer Science, asked by sharmaishant5422, 1 year ago

how to use array list in java ?

Answers

Answered by megha0754
0

Answer:

Array list in java is used to store dynamically size collection of elements contrary to array that are fixed in size, an array list grows its size automatically when new elements are added to it .

Array list is part of Java's collection framework and implements java's list interface.

Answered by Oreki
1

We can use ArrayList in Java by importing ArrayList class from java.util package.

Similar questions