Question: please write the java code for the UML class diagram (and please don't copy and paste answers) flights (abstract) -number -duration -departing airport -arrival airport

 please write the java code for the UML class diagram (and

please write the java code for the UML class diagram

(and please don't copy and paste answers)

flights (abstract) -number -duration -departing airport -arrival airport -list of passengers -pilots -aircrafts +getters and setters for all of them +to string passenger flights cargo flights polymorphism between these three classes +add the list of passengers. + ticket price +add load of the flight in tons and the cost per ton +calculate the revenue of the flight based on (Load(Tons)*CostPer Ton) +to calculate the revenue of the flight based on(The summation of the ticket price of all passengers of the flight)

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