Question: Which method in the ArrayList class can be used to get or set the number of elements that an ArrayList can contain? a. Length( )
Which method in the ArrayList class can be used to get or set the number of elements that an ArrayList can contain?
a. Length( )
b. Size( )
c. Dimension( )
d. Rank( )
e. Capacity( )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
