Last Time
We discussed Java arrays and ArrayLists. An array is a homogeneous mutable
fixed-size
sequece type. Accesss to entries is granted by the []
operator.
ArrayLists have a host of methods for accessing and changing entries. They automatically resize when needed so you never see them run out of room at the inn. You specify the type of entries in an ArrayList with a type parameter.