CS 241: Java Provided Code for Lab 3



Here is a single file that contains all of the files described below. Just save it and then unzip it (use WinZip on the PCs, unzip in unix, and an standard unzip program on other platforms).

o java-lab3-provided.zip


The following files are being provided:
o Terminal.java --- This is the Terminal class provided with Lab 1. When a transcripted is started (via a command line argument or by directly using startTranscript in the driver) the output goes to the terminal and to the transcript file. If you prefer to use the Terminal class from Lab 2, that is fine.

o Driver1.java The driver to use if you have not implemented remove

o Driver2.java The driver to use if you have implemented remove

o usefulCode This contains the code you'll need to create the method to simulate a coin flip.


Return to the CS 241 Home Page