how to use array list in java ?
Answers
Answered by
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
1
We can use ArrayList in Java by importing ArrayList class from java.util package.
Similar questions
Chemistry,
6 months ago
Social Sciences,
6 months ago
History,
6 months ago
Political Science,
1 year ago