Question: FlightLoader + getFlights ( ) : ArrayList Airline - title: String - flights: ArrayList + Airline ( String title ) + getTitle ( ) :

FlightLoader
+ getFlights(): ArrayList
Airline
- title: String
- flights: ArrayList
+ Airline(String title)
+ getTitle(): String
+ createIterator(String fromCode, String toCode): FlightIterator
Flight
- flightNum: String
- from: Airport
- to: Airport
- startTime: LocalTime
- endTime: LocalTime
- numTransfers: int
+ Flight(String flightNum, Airport from, Airport to, LocalTime startTime, LocalTime endTime, int numTransfers)
+ getFrom(): Airport
+ getTo(): Airport
+ sameLoc(Airport from, Airport to): bool
+ toString(): 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 Programming Questions!