Question: USING JAVA PLEASE CODE THE FOLLOWING QUESTION Write a program, WriteData , that will have three methods, writeCustomers , writeRentals , writeCustomerRentals . These will

USING JAVA PLEASE CODE THE FOLLOWING QUESTION

Write a program, WriteData, that will have three methods, writeCustomers, writeRentals,writeCustomerRentals.

These will write data to the customers.txt, rentals.txt, and customerrentals.txt respectively.

The following data will be written.

Customer Data:

Jones,123 One Rd,Arlington,Texas,76019,1234-1234-1234-1234

Smith,54 Lane,Dallas,Texas,76003,6543-6543-6543-6543

Willis,793 First Rd,Fort Worth,Texas,76025,6543-1234-8978

Rental Data:

Movie,Titanic,1A,4.99,BLURAY

Movie,Star Wars,2C,5.99,DVD

Game,Warcraft,5D,3.99,PLAYSTATION

Game,Tomb Raider,12F,3.59,NINTENDO

Movie,Raiders of the Lost Ark,12T,1.79,BLURAY

Movie,Split,8R,2.59,BLURAY

Game,Call of Duty,2G,5.99,XBOX

Movie,Sixth Sense,4D,3.25,DVD

Game,Lego Jurassic World,9Q,2.25,PLAYSTATION

Movie,Avengers,9Y,1.59,DVD

Game,Fallout,7W,1.49,NINTENDO

Movie,Titanic,1AD,4.99,DVD

Movie,Sixth Sense,4DB,3.25,BLURAY

Customer Rentals data:

Jones,Movie,1A

Smith,Movie,8R

Willis,Game,12F

Jones,Movie,2C

Smith,Movie,1AD

Willis,Game,7W

Willis,Movie,4D

Baker, Movie,9Y

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!