Post Lab 8: Rolling a Pair of Dice

Due Monday, November 7, 2005

In this assignment you will write a PairOfDice class and then use it in a program with a loop.

The PairOfDice class must meet the following specifications:

Instance data: Two Die objects (die1 and die2). Use the class Die.java from your textbook.

Methods:

Write a program PlayGame that does the following:

Hand In: