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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!