Question: Create a java class that reads in a file named quotes.txt, When the program runs, it print out a random quote that is read from

Create a java class that reads in a file named "quotes.txt", When the program runs, it print out a random quote that is read from that file. It should allow the user to input a number (1) get another random quote, (2) get all the quotes by an author entered by the user if they exist, (3) get all the quotes containing a search phrase entered by the user, and finally (4) exit.

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!