Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 11 The Database For Big Data And Analytics

Authors: Cristian Molaro, Surekha Parekh, Terry Purcell, Julian Stuhler

1st Edition

1583473858, 978-1583473856

More Books

Students also viewed these Databases questions