Question: can you write the java code for the following : persons -name -nationality passport number +getters and setters +constructor +to stringo airports -name .city -country

can you write the java code for the following :

can you write the java code for the following : persons -name

persons -name -nationality passport number +getters and setters +constructor +to stringo airports -name .city -country - list of arriving flights - list of departing flights +getters and setters +tostringo +constructor aircrafts -model -manufacturer -code +getters and setters +constructor +to stringo fights -number - duration -departing airport - arrival airport - list of passenger -pilots -aircrfts +getters and setterso +constructor +to string cargo airliner -number of passengers +calculate the fuel consumption +calculate the fuel consuption cargo flights +add load of the flight in tons and the cost on tono +calculate he revenue of the flight based on loads *cost per too pasengers flight +add the listof passengers +add ticket price +calculate the revenue of the flight based on the sum of the ticket price * number of the 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!