Question: What is the difference between an ArrayList objects size and its capacity?
What is the difference between an ArrayList object’s size and its capacity?
Step by Step Solution
3.51 Rating (171 Votes )
There are 3 Steps involved in it
An ArrayList objects size is the number of elements it contains Its capacity is the number of elemen... View full answer
Get step-by-step solutions from verified subject matter experts
