Question: Java Question QUESTION 1 Saved 20 points The ParkCity company plans to build an application to let parking lot owners manage their parking llots for

Java Question

QUESTION 1 Saved 20 points The ParkCity company plans to build anapplication to let parking lot owners manage their parking llots for daily

QUESTION 1 Saved 20 points The ParkCity company plans to build an application to let parking lot owners manage their parking llots for daily commuting customers. A parking lot owner can have one or more parking lots under their management. A parking lot will have dedicated parking spaces for compact cars, minivans, pickup trucks, etc. The parking lot owner will determine the daily parking rate for each type of parking space and can change the price for some days based on demand. The price change will only apply to future reservations. Customers reserve and pay for a dedicated parking spot for a given day (entire day) if it is available. A parking spot number will be assigned for each reservation. Customers can have at most five active reservations at any given moment. The parking lot owners would like to know how many spots are booked and how many are available for each vehicle type for any given day. A cusomer would like to have a dashboard of their past reservations and active reservations. A reservation for the current day is Iso considered an active reservation. A customer registers with the ParkCity company and can reserve parking spots at any of the parkg lots. A customer can also cancel a future reservation at any time. A reservation can be made up to 10 days in advance.

Step by Step Solution

3.43 Rating (153 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To implement the described scenario we can use the Strategy design pattern to encapsulate the various pricing strategies for parking lots Below is a J... View full answer

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 Programming Questions!