Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

*Using Java language and with ArrayList Create a program that will read the attached file * that contains a list of student records in CSV

*Using Java language and with ArrayList

Create a program that will read the attached file* that contains a list of student records in CSV (comma separated values) format. Then sort the data by last name, in ascending order (a-z). Then write the resulting records into a new file. You must use exception handling when reading or writing to a file. Store your Person objects into an ArrayList .

* Tommy,Lee,Jones,32,Y,Rd,M Tommy,Lee,Jones,32,Y,Rd,M Sally,May,Jones,34,Y,Bl,F Sally,May,Jones,34,Y,Bl,F Johny,Bee,Good,22,N,Bk,M Johny,Bee,Good,22,N,Bk,M John,Hecktor,Quency,23,N,Br,M John,Hecktor,Quency,23,N,Br,M Victoria,Jane,Hanks,19,Y,Rd,F Victoria,Jane,Hanks,19,Y,Rd,F Michelle,Sally,Woods,42,N,Rd,F Michelle,Sally,Woods,42,N,Rd,F tom,henry,james,43,N,Bk,M tom,henry,james,43,N,Bk,M suzzie,que,donner,45,N,Rd,F suzzie,que,donner,45,N,Rd,F henry,glenn,hoan,30,Y,Bk,M henry,glenn,hoan,30,Y,Bk,M tommy,yom,e,3,N,Bl,M tommy,yom,e,3,N,Bl,M s,d,f,3,N,Rd,M s,d,f,3,N,Rd,M j,h,f,2,N,Rd,M j,h,f,2,N,Rd,M

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

Database Systems For Advanced Applications 27th International Conference Dasfaa 2022 Virtual Event April 11 14 2022 Proceedings Part 2 Lncs 13246

Authors: Arnab Bhattacharya ,Janice Lee Mong Li ,Divyakant Agrawal ,P. Krishna Reddy ,Mukesh Mohania ,Anirban Mondal ,Vikram Goyal ,Rage Uday Kiran

1st Edition

3031001257, 978-3031001253

More Books

Students also viewed these Databases questions