Computer Science 120
Introduction to Programming

Fall 2011, Siena College

Lecture 18: Array Usage and the ArrayList
Date: Thursday, March 31, 2011 (Opening Day)

Agenda

Lecture Assignment 18

Due at the start of class, Tuesday, April 5.

Please submit answers to these questions either as a hard copy (typeset or handwritten are OK) or by email to jteresco AT siena.edu by the start of class. Please use a clear subject line when submitting by email (e.g., CS 120 Lecture Assignment 18, Joe Student). We will discuss these questions at the start of class, so no late submissions are accepted.

  1. Modify class RoadSegment from one of the recent "dragging roads" examples to use an ArrayList of RoadSegments instead of an array.

Examples