13. ArrayList
An array-like class that (i) grows automatically and (ii) can delete elements.
-
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
- Aardvark Assignment
- Learn to test ArrayList functions!
-
2018-02-18
- yesToNo (ArrayList 7)
- ShoppingList (ArrayList 4a,4b) from problems linked at the top of the page. Shopping List example code.
-
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.