ITEC 120 Back to Assignment index page
   
Assignment 5 - Baseball card collection
Submit your program to a folder called RU03 in your directory on neelix.

Description:  You will write a program which will model a baseball card collection. You'll need this Sorts.java class (do not change it, use it as is). You'll also find this input file handy: program5in.txt. Sample output from the program (run with the input in program5in.txt) can be found in program5out.txt.

Use this class diagram to help you write your project: UMLprogram5.doc

Here is what the driver program will do:

Here is a description of the methods in the BBcardCollection class:

Here is a description of the methods in the BaseballCard class:

This is a non-trivial project with many parts. It will take some time. You will need to study the UML diagram carefully and understand and incorporate many concepts which we have been learning this semester. You may use BaseballCard.java which was used in labquiz4, take 2. You'll need to add a method to it, but everything in it can be used.


TURNING IN YOUR PROGRAM: You will turn in three files: program5.java, BaseballCard.java, BBcardCollection.java. PLEASE name the files as suggested: it expedites the grading process. I will run your program with a different input file. Do not change the format of the input file.