I need to create a java program that plays a game SIMILAR, butnot exactly hangman. The assignment is for us to practice arrays,file input and strings. I have a seperate text file namedhangman.txt where I have 10 phrases and I need the program torandomly chose 1 of those 10 phrases. I need to include a classcontant for the number of incorrect guesses. I also need at least 6public static methods that are
a method to load the input from a file into an array
a method to pick the puzzle for this game from the list ofphrases
a method to play one game
PayPal Gateway not configured
PayPal Gateway not configured