ITEC 120 Lab Quiz 4 - Thursday, April 3

Lab Quiz 4 - test to see if two baseball cards are the same
Due at the end of lab period.
Submit two files (labquiz4.java and BaseballCard.java) to your directory on neelix, in a folder called RU03.
Be sure to put your name in the documentation header at the top of each file.

Download these two java files: labquiz4.java and BaseballCard.java. (You'll also need the Keyboard class.)

The driver program (labquiz4.java) instantiates three baseball card objects.

Your job is to add code to both of the files which will first test to see if card1 is the same as card2, and if card 2 is the same as card3, and output appropriate messages. Your message should print each card and a message stating whether or not they are the same card.

Two baseball cards are the same if they have the same player, team, and year. You should ignore differences in case. (for example, Pete Rose is the same player as PETE ROSE.)

NOTE: Points will be given for a well designed, object oriented solution. You should not find yourself changing the code that is already in the file, only adding new code.