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 :

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
Get step-by-step solutions from verified subject matter experts
