Question: Thanks A Comma Separated Value (CSV) text file called movies.txt contained data for movies, one movie on each line. Each Movie contains the following data

 Thanks A Comma Separated Value (CSV) text file called movies.txt contained

data for movies, one movie on each line. Each Movie contains the

Thanks

A Comma Separated Value (CSV) text file called movies.txt contained data for movies, one movie on each line. Each Movie contains the following data items: Title(String), Year(int-4 digits), Runtime(double). Example of text file (CSV): Gemini Man,2019,1.97 Mortal Engines,2018,2.01 Some students are having trouble reading the ser file provided. Please write a Java program to read movies.txt file. (It is in Modules under Chapter Code) Create your own movies.ser file from the Text file The movies.txt Text file was read and the data was Serialized to file called movies.ser. You have been provided the movies.ser file. flt is in Modules under Chapter Code) Copy both movies.txt and movies.ser file to your Project Folder (NOT src folder) Write Java program(s) to read the movies.ser serialized file and output the data on to the Console in the format shown below. The spacing for the output is: Title(20), Year (8) and Runtime (10.2) Title and Year are left-justified, Runtime is right-justified. (You can use your own text file to test your program) Sample output: Title Year Runtime aaaaaaaaaaa aaaa a.aa ... ... XXXX X.XX XXXXXXXX y.yy Remember to UPLOAD the movies.ser file you created along with the .java files. (Due date extended to 2/21) DO NOT JUST OUTPUT movies.txt file using System.out.ptinln(). WE WILL CHECK FOR THIS! Your Java file may be checked for plagiarism! movies.txt Star Wars, 2017, 2.3 Star Wars, 2015, 2.2 Forest Gump, 1994.2,2 Pulp Fiction, 2008,1.89 The Lion King, 2019,2.2 The Godfather, 1974,2.1||

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!