185k views
1 vote
The arraylist class ____ method returns the current arraylist size.

User Tarang
by
5.9k points

1 Answer

5 votes
ArrayList is a resizable-array implementation of the List interface in the JAVA programming language. In this array an item can be added at any point. The array size expands automatically to accommodate the new item.
The ArrayList class SIZE method returns the current ArrayList size.
Other methods are remove, add, get..
User Pavel Timoshenko
by
6.7k points