Question: WRITE IN JAVA PLEASE!!!! Take a file named athlete.txt. Each Movie contains the following data items: Name(String), Birth Year(int-4 digits), 40 Meter Dash Time (double)

WRITE IN JAVA PLEASE!!!!

Take a file named athlete.txt.

Each Movie contains the following data items: Name(String), Birth Year(int-4 digits), 40 Meter Dash Time (double)

The program should read athlete.txt, and should create a athlete.ser file from the text file, athlete.txt.

Copy both the .txt and .ser file to the project folder, not the source folder

The program should read the athlete.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.

Title Year Runtime aaaaaaaaaaa aaaa a.aa ...... ...... ..... ...... ...... ..... xxxxxxxx xxxx x.xx yyyyyyy yyyy y.yy

DO NOT JUST OUTPUT athlete.txt file using System.out.println().

Thank you!

The File:

Tom Banks,1999,4.30 Devin Booker,1996,4.52 Forest Gump,1994,4.37 Chris Wallace,1998,4.6 Rick Johnson,1998,4.4 Mac Filler,1992,4

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!