PROGRAM STATEMENT:DICE ROLL SIMULATOR:
Write a class namedDice. TheDiceclass should have the following field: A String namedsideUp. ThesideUpfield will hold either a 1, 2, 3, 4, 5, or 6 indicating the side of the dice that is facing up.
TheDiceclass should have the following methods:
Write adriverclass calledDriverthat demonstrates theDiceclass:
Run your program several times to test it.
Important Note:Assignments without text file operations will lose 50% of the grade.
SUBMISSION INSTRUCTIONS & REMINDERS:
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here