Question: Design a program that models a parking lot. You should have the relevant data structures ( more than one perhaps depending if they park their

Design a program that models a parking lot.
You should have the relevant data structures (more than one perhaps depending if they park their car or an attendant does, etc.). You can use collections as well.
You should be able to do things like sort data (you should write your own sorting methods, and you may choose to use comparators and iterators to compare such things as cars).
This should be a real world design, so think of all the possibilities and how you would deal with them.
Assume that there are short and long term parking and at least three levels (with each).
Some cars will need to be placed in as a stack while some may be categorized as a queue or some other data structure that you use to build your garage.
A person bringing their car should receive a ticket for their car and they should be able to return the ticket to you for their car (and be charged for the time).
Include a white paper that explains your design (and obviously comment your code).
At least 8 objects should be implemented and run in main. Make sure to put in data. You will also need to analyze the cars coming into your lot, simulating some of the process

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