Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Make a program that reads movie data from a file and stores the data in an ArrayList of Movie objects. Once the data is
Make a program that reads movie data from a file and stores the data in an ArrayList of Movie objects. Once the data is read, your program should prompt the user with the following menu. 1 Display movies released in a particular year 2 Display one movie from database 3 - Exit app If the user selects 1, prompt the user for and input a year and display (list) all the movies released during that year. If no movies are found, your app should display a message stating that no movies from that year are in the database. If the user selects 2, prompt the user for and input a movie number and display that movie from the ArrayList. Remember the ArrayList begins with zero (0), so subtract 1 from the value the user enters. If the user enters a number larger than the number of movies in the database, your app should display a message stating there are not that many movies in the database. If the user selects 3, the app should stop running. Using draw.io, Google Draw, or another tool, design the flowchart for your app. Also, make the UML for a movie class. Store the data in an ArrayList. Movie Title Director Year Released Running Time (in minutes)
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