Write a Java program that keeps a number from the user and generates an integer between 1 and 7 and displays the name of the weekday