Title: Beginning ArrayList Concepts
Course: CPS 261: Advanced Java Concepts ~ DL & MM MASTER > Section: Learning Units - Bb

Presentations and Videos

- Beginning ArrayList Concepts lecture video (Time: 16:50)
- Beginning ArrayList Concepts document

- This is an introduction to the Arraylist data structure. Note that the ArrayList implements the List interface and there are other implementations of the List interface such as the LinkedList class.
- In this set of notes we are only going to use a small subset of the ArrayList methods: size, get, add.
- Most newer programs will use Generics when using ArrayList. Before generics was added to Java, the ArrayList class was defined to use the Object class.
- In the simple programs demo'ed we illustrate ArrayList with generics and without generics. We also show an ArrayList of Strings as well as an ArrayList of a class we create (Person class).