Question: In the last chapter, you modified the RentalDemo program for Sammys Seashore Supplies to accept and display data for an array of three Rental objects.
In the last chapter, you modified the RentalDemo program for Sammys Seashore Supplies to accept and display data for an array of three Rental objects. Now, modify the program to use an array of eight Rental objects. Prompt the user to choose an option to sort Rentals in ascending order by contract number, price, or equipment type. Display the sorted list and continue to prompt the user for sorting options until the user enters a sentinel value. Save the file as RentalDemo.java.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
