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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started