Question: This is from my computer science 1 class (Java). Your help is appreciated. This Java program must be Object Oriented. You may use 2 objects

This is from my computer science 1 class (Java). Your help is appreciated.

"This Java program must be Object Oriented. You may use 2 objects (one for each dice).

Create a public class named DiceRollerApp that has the main method and uses the PairOfDice class to rolls the dice each time the user responds "yes" to the request prompts. This app class should display special messages for "craps" (sum of both dice is 7), "snake eyes" (if both dice are 1), and "box eyes" (if both dice are 6). For this application, assume that two six-sided dice are used."

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!