Please help..dice java program
Guys I'm having a little problem with my programming class and I really need to pass this project..Guys I really need your help to pass this subject..Please help me..Thank You so much..
Write a java program that will show the characteristic of a pair of dice in which the instance variables die1 and die2
are private. Your class will need methods that can be used to find out the values of die1 and die2.(This idea is to protect their values from being changed from the outside the class, but still to allow the values to be read.)Include other improvements in the class, if you can think any. Test your class with a short program that counts how many times a
pair of dice is rolled, before the total of the two dice is equal to two.