IN JAVA
Design and implement a class called Die (for a die in a pair of dice). Include a constructor for a die (which will set its value as null or -1), methods to set and get the individual die values, and a method to print the die. For instance, a 5 will print as
* *
*
* *
Create a driver class called CreatePairOfDice to instantiate and print a pair of dice. The value of each die should be a randomly generated integer from 1 to 6. You must use Math.random().
4. GUI Interfaces (30 points). Write a program using Java FX graphics to display a screen like the following screen. There is no need to provide any actions when a button is pressed. You may improve the colors or graphics.
EECS 1570 Java Programming Is Not So Easy Linear Data Structures