Question: I have to code the Airline class and Passenger class Please write the full code Working on Eclipse, Do not asnswer it if you do

 I have to code the "Airline" class and "Passenger" class Please

I have to code the "Airline" class and "Passenger" class

Please write the full code

Working on Eclipse,

Do not asnswer it if you do not know it

locationList: LocationList departure: String arrival: String departureTime: Date arrival Time: Date passengerCount: Int database Database resuits: LiskFlight manager: DBManager Viewer for searching for flights 1+searchByQuerylq:Query): List departure: String arrival String departure Time: Date arrivalTime: Date numberOlSeats: Int price: int class (test, coach): String entertainment: boolean luggage : String View layer seats : List-Seab airlineName: Sbring avgRating: double totalRatings: Int mySeats: ListcSeab bookingNumber:String flight : Flight food boolean Controller layer + getArrival): String +getDeparture Time : Date getPrice) : int +getclass): String +getPassanger): Passenger Model layer getSeaM) : Seat getBookingNumber: Sering getFlight): Flight +setFlightelight: Flight) : void setBookingNumber(s: String) : void + setSeats(seats: List-Seats>): void +setPassengers(p: List-Passengers>) : void addRating(rating, int) : void +getRatingo : double + getNumberAvailableSeats): int int Storage layer getFood0 :boolean getEntertainment) boclean String getluggageD:String getFlightNo): int 0. Passenger name: String getName): String

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!