| |
Summary/Review | page 7 of 9 |
Like an array, an ArrayList contains elements that are accessed using an integer index. However, unlike an array, the size of an ArrayList will expand if needed as items are added to it. As these examples show, ArrayList can be very useful. The package java.util also includes a few other classes for working with objects. We'll look at some of them in later lessons.
|