Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A car rental system was given to you to fix the below class diagram was given to you mention 3 common mistakes in this diagram
A car rental system was given to you to fix the below class diagram was given to you mention 3 common mistakes in this diagram and explain the problem of each one
Draw a new diagram for a car rental company from scratch
Mention above each class its type either core or lib , no need GUI classes
Rent No of rent days:int -PenaltyFee:double rentPayable:double RentPerDay:double TotalAmountPayable.double Rental System +field: type +field: type +field: type + PostError():void DenyRent):void Application Status String - Nu int +AppliedBy Customer Car Address: String age: int Eligible: boolean ValidLicenseNumber boolean Model String type : String -RegNumber: String Avaliable : boolean LoyaltyPoints :int Name String type String -BadHistoryLevel: int - UnderMaintenance Boolean Last Service Date: date isRented: booleanStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started