Computer Science 120
Introduction to Programming
Spring 2011, Siena College
Lecture 19: More ArrayLists and 2D Arrays
Date: Tuesday, April 5, 2011
Agenda
- Announcements
- Change in availability today and tomorrow: no regular office
hours this afternoon. Email only.
- Tomorrow: available 3:30-5, 7-9.
- Because of this, I will accept Lab 6 submissions without
penalty until 9 PM Wednesday.
- Lecture assignment recap
- Boxball lab recap
- Style emphasis
- declare variables as locally as possible
- avoid unnecessary variables (both for items never used and
for values that can be computed and used in one step)
- avoid unnecessary conditionals
- Lab 7 preview
- Looking ahead: programming project out next week
- More on ArrayLists
- Two-dimensional arrays
No New Lecture Assignment
Examples