The PairOfDice class should have the following instance data: two Die objects. Use the class Die.java from your textbook. The methods in the PairOfDice class should be:
[ 2 : 5 ]
Write a program PlayGame that does the following:
// Set up - roll the dice to get the next roll and initialize the // counting variables (one for number of rolls and one for doubles) while the next roll is not equal to point { // print the current dice // increment the count for the number of rolls // if the roll is doubles increment the doubles counter // get the next roll (roll again!) }
Hand In: