Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored 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