Question: JAVA Programming Make Carmax program. The program provides functions to manage customers/members and car inventory using text files. First define class Main, Car, Minivan, Sedan,

 JAVA Programming Make Carmax program. The program provides functions to manage

JAVA Programming

Make Carmax program. The program provides functions to manage customers/members and car inventory using text files. First define class Main, Car, Minivan, Sedan, Sportscar, Inventory, Members, User, Admin, and Standard as defined below. Additionally, you can define any class and method if you need. All customers and car inventory information should be stored in text files as a simple database. Please use two object arrays for Car and User object in the program. Once the program starts, you have to open the files and load all information on the object arrays. (You may need to use StringTokenizer class to read the file.) When the program finishes, you have to overwrite the two files with the two object arrays. Example of data file users.txt dkim/1234/Admin/yourfirstname/lastname / admin@carmax.com/dealer app123/6364.dd3K/Standard/Jackson/James/J88@gmail.com/O hukkz993/3! 7A2ds s/Standard/ Gonzalez/Mi ke/MH332@yahoo.com/0 apple12/3W2 i.d2/ Admin/Kim/Dongchul/dkimcarmax.com/business manager 23fasd/395D.jd/Standard/Cantu/Roy/kcantu02@hotmail.com/2/AB 234KL 34/FF2HHKL94 inventory.txt AB234KXAZ/Sedan/Honda/ Accord/2018/100/3000.00/G/Y CD5555A72/Sedan/Toyota /Camry/2010/11000/7000.00/S/N AB234KL34/Sedan/Honda/Civic/2009/15000/4000.00/R/N XX55JKA31/Minivan/Honda/ odyssey/2018/500/5000.00/B/Y FF2HHK194/Sedan/EM/535i/2011/12000/9000.00/W/N/N ID321X KWA/Sportscar/Audi/R8/2018/300/110000.00/B/Y Make Carmax program. The program provides functions to manage customers/members and car inventory using text files. First define class Main, Car, Minivan, Sedan, Sportscar, Inventory, Members, User, Admin, and Standard as defined below. Additionally, you can define any class and method if you need. All customers and car inventory information should be stored in text files as a simple database. Please use two object arrays for Car and User object in the program. Once the program starts, you have to open the files and load all information on the object arrays. (You may need to use StringTokenizer class to read the file.) When the program finishes, you have to overwrite the two files with the two object arrays. Example of data file users.txt dkim/1234/Admin/yourfirstname/lastname / admin@carmax.com/dealer app123/6364.dd3K/Standard/Jackson/James/J88@gmail.com/O hukkz993/3! 7A2ds s/Standard/ Gonzalez/Mi ke/MH332@yahoo.com/0 apple12/3W2 i.d2/ Admin/Kim/Dongchul/dkimcarmax.com/business manager 23fasd/395D.jd/Standard/Cantu/Roy/kcantu02@hotmail.com/2/AB 234KL 34/FF2HHKL94 inventory.txt AB234KXAZ/Sedan/Honda/ Accord/2018/100/3000.00/G/Y CD5555A72/Sedan/Toyota /Camry/2010/11000/7000.00/S/N AB234KL34/Sedan/Honda/Civic/2009/15000/4000.00/R/N XX55JKA31/Minivan/Honda/ odyssey/2018/500/5000.00/B/Y FF2HHK194/Sedan/EM/535i/2011/12000/9000.00/W/N/N ID321X KWA/Sportscar/Audi/R8/2018/300/110000.00/B/Y

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!