a. You created an interactive RentalDemo class that obtains all the data for four rentals from Sammys

Question:

a. You created an interactive RentalDemo class that obtains all the data for four rentals from Sammy’s Seashore Rentals, including details about the contract number, length of the rental, and equipment type. Now, modify the program to create a data file that contains each contract number, rental time in hours and minutes, equipment type code and name, and price. Save the program as RentalDemoAndCreateFile.java.
b. Write a program that displays the data saved in the file created in part 2a. 

Save the program as DisplayRentalFile.java.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Java Programming

ISBN: 978-1337397070

9th edition

Authors: Joyce Farrell

Question Posted: