WRITE PROGRAM IN JAVA CODING !
Develop a Java Class Die that will manage a roll of a six-sideddie. Once you develop the Class Die, use the Driver program givenat the bottom to test your Class Die.
The Class Die that you create will include a separate method toperform each of the following:
- Roll one die and return thevalue.
- Send the method a pair of diceand it will return the sum of the pair.
- Send the method a pair of diceand it will return a true if doubles has beenrolled.
- Send the method a pair of diceand it will return the
OROR