Problem 1
Version: 5.2.1

Assignment 11

Goals: Learn to override the methods equals, hashCode, and toString.


The names of the projects and some of the project files must be exactly the same as specified in the assignment. Failure to do so makes it impossible for the graders to run your submission and results in immediate loss of at least 50% of the homework credit.

Make sure you follow the style guidelines for code indentation.

You will submit this assignment by the deadline using the Web-CAT submission system.

With each homework you will also submit your log file named pairxxx.txt where you replace xxx with your pair number.

On top of every file you submit you will have the names of both partners, and the pair number.

The .txt file will be the log of your work on this assignment. Each log entry will have data and time, who was present (one or both of the partners) and a short comment decribing what you were working on.

Due Date: Wednesday, November 28th, 11:59 pm.

Problem 1

Finish the problem from Lab 11.

Hand in the code from the lab that includes the implementation of the following methods (with the appropriate test, of course!):