Problem Description
You are to develop a Java program, using an object-oriented design, capable of maintaining vehicle rental
reservations for a vehicle rental agency that rents cars, SUVs and trucks to corporate customers.
Problem Scenario
The agency offers various model cars, SUVs and trucks for rent to corporate customers (not private
individuals). Vehicles may be rented for a period of days, weeks, or months. Monthly rentals are cheaper
(on a daily basis) than weekly rentals, and weekly rentals are cheaper than daily rentals. There is also a
mileage charge and optional daily insurance. Rates differ for cars, SUVs and trucks. (There is no
difference in the rates among various model vehicles.) Each corporate customer may choose to be a
“Prime Corporate Customer” for a fixed yearly fee. Prime customers receive 100 free miles for each
individual rental.
Users of the System
There are two types of users of the system, Employees and Managers, described below.
Employees of the rental agency may do the following (referred to as use cases in software
development): (1) view the current rental and insurance rates for a given vehicle type (car, SUV or
truck), (2) view the list of available (unreserved) vehicles of a given type, (3) obtain an estimated cost
of a particular planned rental (for a given vehicle type, rental period, expected number of miles to be
driven, and insurance option), (4) reserve a vehicle, (5) cancel a reservation, (6) view a given corporate
account, including a list of the currently reserved vehicles, and (7) process a returned vehicle.
Managers of the vehicle rental agency may: (1) add a new corporate account, (2) update the current
rental and insurance rates, (3) view all vehicles of the rental agency (each indicated as currently
reserved or unreserved), (4) view all current reservations, (5) view all corporate accounts, including a
list of the currently reserved vehicles for each, and (6) view the contents of the transactions history (i.e.,
of returned and paid rentals).
A use case diagram for the system is given on the following page.
# Please see attached for more information about the answer


0 comments