Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction to Java Programming, Comprehensive Version

Authors: Y. Daniel Liang

10th Edition

133761312, 978-0133761313

More Books

Students also viewed these Databases questions

Question

Describe the qualities of kurtosis and skewness.

Answered: 1 week ago

Question

nearest cent

Answered: 1 week ago

Question

=+b) What is the standard deviation?

Answered: 1 week ago

Question

=+b) Find the standard deviation for the profit.

Answered: 1 week ago

Question

=+a) How many red lights should she expect to hit each day?

Answered: 1 week ago