Question: Java Program Create a class that reads a text file and store it into an arraylist. The program separates the strings within the file (strings

Java Program

Create a class that reads a text file and store it into an arraylist. The program separates the strings within the file (strings are separated using a comma and semi-colon). The file is set up as: user name, last name, first name, and email. Allow the user to update the file, and able to search, sort (in acending order), or list the file. Example of the text file is below, create an output that shows it searching, sorting, or listing. The output uses the last name, and first name for the method in the previous sentence.

Fireman,Walter,Brian,bw@yahoo.com;

Arrowhead21,Martian,Max,mm@gg.com;

Piehead85,Walton,Sam,sw@hi.net;

Metalman98,Hood,Robin,rw@hi

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!