Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started