Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Airline booking application are available in many a number and the competition in this business segment is very stiff, where one can quickly and easily

Airline booking application are available in many a number and the competition in this business segment is very stiff, where one can quickly and easily compare rates from different airlines to find the best deal for our next flight. With an intuitive search engine, one can enter their travel dates and destination to get a list of available flights and their associated prices. Assume that you are assigned a task to develop a new Airline ticket finding application that will query different airlines for rates and return the daily rate in ascending order. One of your team members went ahead and
implemented the following: 1. The application program that will allow
him to list the names of Airlines and the prices (in ascending order) is written separately. 2. An AirlinesRateFinder class queries four Airline classes (Air India, British Airways, Cathy Pacific, Emirates, Lufthansa) for availability of dates and the rates.
3.Each Airline has a method that returns the daily rate (don't worry about dates of reservation for this problems).
Using this initial design given draw a class diagram for the problem in such a way that if we introduce a new Airline, your new application will require minimal or no change to code. [8-Marks]

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

Beginning ASP.NET 4.5 Databases

Authors: Sandeep Chanda, Damien Foggon

3rd Edition

1430243805, 978-1430243809

More Books

Students also viewed these Databases questions