Question: JAVA, In this program I am suppose to present 5 text files containing 10 phrases and present the 5 text file they can choose from
JAVA,
In this program I am suppose to present 5 text files containing 10 phrases and present the 5 text file they can choose from to the user. The user will then choose one of the 5 and then we would read the file and get a random phrase. The main problem I have is how do I use the random int you generated to get the phrase from the file?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
