13. ArrayList

An array-like class that (i) grows automatically and (ii) can delete elements.

ArrayList in-class problems

  • 2018-02-05:

    • Classwork: pages 2, 4, 8 (ArrayList 0, 2, 3) in presentation linked above.
    • HW: Read Chapter 13. Do reading comprehension questions (exercises) 1-6 on pages 378-379. Answering the questions should take about 10 minutes.
    • Java Methods PowerPoints: Skim Chapter 13.
  • 2018-02-06

  • 2018-02-18

  • 2018-02-08

    • Opener: throddPigs
    • Quiz or Homework (if you were not present): ArrayList 8 “Penguin” from problems linked at the top of the page.
    • Note on testing: A popular question is how to test functions that modify their arguments. See aardvark testing notes.
Last modified August 18, 2023: 2022-2023 End State (7352e87)