Java Arena

Module 13

Lists

Keeping many values in one list. Creating an ArrayList, adding values and getting them by index, the IndexOutOfBoundsException, a list's size, looping over the indexes, and finding the largest value or where a value is.

Steps

  1. Creating a list
  2. What a list holds
  3. Getting values by index
  4. When the index doesn't exist
  5. The size of a list
  6. Looping over a list
  7. Sums, averages and the largest value
  8. Searching a list