Grouping Objects, Collections, Traversals
“Programs must be written for people to read, and only incidentally for machines to execute.”
- Abelson and Sussman
due: this Friday
questions?
Lecture notes
we’re running Java 6, not Java 7
so note, but ignore, references to “diamond notation” (i.e. slide 9)
Chapter 4 demo projects:
grab a copy of your own to play with:
$ cd cs102
$ cp -r ~cs102/bluej/projects/chapter04/ ./
music-organizer(s): v1–v5 (ArrayLists, iteration, iterators)
auction (method chaining and null)
weblog-analyzer (uses arrays)
Lecture notes
BlueJ text, chapter 4
PDF
Chapter 4 demo projects
Lab 4: Wanna join my club?