A1 Solution

Here is a sample partial solution to Assignment 1. It can be used as an example of the type and number of comments that are expects, as well as an example of how to use javadoc. It should also be used as an example of how to divide up a program into different classes.

The solution is not complete. It does not contain the full user interface as specified in the handout. It includes the testing code, and data files used to test submitted programs. Also, a truly complete solution would handle many more errors than are handled here.

Code:

Data files:

javadoc output

Here's a link for a short tutorial on javadoc.


Last modified: Tue Nov 5 17:49:33 EST 2002