What is the difference between an array lists size and its capacity? What is the relationship between

Question:

What is the difference between an array list’s size and its capacity? What is the relationship between the two values? (Is one always larger or smaller than the other, for instance?)

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: