School of Engineering and Applied Science
Department of Computer Science
CSci 133 -- Introduction to Software Development
http://www.seas.gwu.edu/~csci133/spring03
Prof. Michael B. Feldman
mfeldman@gwu.edu

Lab Exercise #4
for labs meeting Friday, Feb. 7, 2003

Objectives: The purpose of this lab is to explore a few linked list operations.

In your csci133 directory, copy and compile the following files from programs133:
Magazine.java
MagazineList.java
MagazineRack.java

Run the MagazineRack application; observe its output.

Now add active-iteration controls to the MagazineList class, and modify MagazineRack so it runs an active iteration to count the number of magazines and display the count and the titles. Note that active iteration is explained in a web document here; the name of the initialization method has been changed for clarity in that document, from startIteration to initializeIteration.

(end of lab)