Money +++ cents: long Money() Money(string) Money(Money) getdollars (): double tostring(): string Parkingcharge permit id: String lot id: String incurred: Instant** amount: Money | tostring(): string...


Complete the following class diagram with the correct associations to make our object-oriented parking system complete.


Money +++<br>cents: long<br>Money()<br>Money(string)<br>Money(Money)<br>getdollars (): double<br>tostring(): string<br>Parkingcharge<br>permit id: String<br>lot id: String<br>incurred: Instant**<br>amount: Money<br>| tostring(): string |<br>Parkingoffice<br>name: String<br>address: String<br>customers: List<Customer><br>cars: List<Car><br>lots: List<ParkingLot><br>charges: List<ParkingCharge><br>register(String name,<br>string address,<br>string phone): Customer<br>register(Customer c,<br>string license,<br>Cartype t): Car<br>getcustomer (string name): Customer<br>addcharge (ParkingCharge): Money<br>***<br>

Extracted text: Money +++ cents: long Money() Money(string) Money(Money) getdollars (): double tostring(): string Parkingcharge permit id: String lot id: String incurred: Instant** amount: Money | tostring(): string | Parkingoffice name: String address: String customers: List cars: List lots: List charges: List register(String name, string address, string phone): Customer register(Customer c, string license, Cartype t): Car getcustomer (string name): Customer addcharge (ParkingCharge): Money ***

Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here