PURPOSE OF ASSIGNMENT The University has a need to develop an Object-Oriented Parking System. Each assignment will build towards creating the parking system. · The University has several parking lots and the parking fees are different for each parking lot. · Customers must have registered with the University parking office in order to use any parking lot. Customers can use any parking lot. Each parking transaction will incur a charge to their account. · Customers can have more than one car, and so they may request more than one parking permit for each car. · The University provides a 20% discount to compact cars compare to SUV cars. · For simplicity, assume that the Parking Office sends a monthly bill to customer and customer pays it outside of the parking system. · Each week you will need to submit an updated Class Diagram along with the other deliverables for the assignment. The goal of this assignment is to create ParkingOffice and ParkingLot classes that demonstrate the use of Java Generics and Collections. You will also need to lookup the Java Enum type and use it to describe the type of the car. ASSIGNMENT INSTRUCTIONS Develop Java code for the ParkingOffice, ParkingLot and Money classes, and the CarType enum, shown in the diagram below. The data attributes and methods are provided as a guide, please feel free to add more as you feel necessary. Explain your choices in the write-up. Note that the ParkingLot and Money classes should be immutable ; once created with values they cannot be modified. Class: Money · Data Attributes o amount : long o currency : String Enum: CarType · Values o COMPACT o SUV Class: ParkingLot · Data Attributes o id : String o name : String o address : Address · Behaviors o getDailyRate(CarType) : Money Class: ParkingOffice · Data Attributes o parkingOfficeName : String o listOfCustomers : List
Looking for solution of this Assignment?
WHY CHOOSE US?
We deliver quality original papers |
Our experts write quality original papers using academic databases.We dont use AI in our work. We refund your money if AI is detected |
Free revisions |
We offer our clients multiple free revisions just to ensure you get what you want. |
Discounted prices |
All our prices are discounted which makes it affordable to you. Use code FIRST15 to get your discount |
100% originality |
We deliver papers that are written from scratch to deliver 100% originality. Our papers are free from plagiarism and NO similarity.We have ZERO TOLERANCE TO USE OF AI |
On-time delivery |
We will deliver your paper on time even on short notice or short deadline, overnight essay or even an urgent essay |