Discuss the below code:
Q: Create a class that player guess anumber, the application generates a random number, and player determine whether they are correct. Display a message indicating whether the players guess was correct, too high or too low. Add a loop that contnuously prompts the user for the number indicating whether the guess is high or low, until the user enters the correct values. After the user correctly guesses the number, display a count of the number of attempts it took. Save the file as RandomGuess3.java