Answered step by step
Verified Expert Solution
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: The application program that will allow him to list the names of Airlines and the prices in ascending order is written separately. An AirlinesRateFinder class queries four Airline classes Air India, British Airways, Cathy Pacific, Emirates, Lufthansa for availability of dates and the rates. Each Airline has a method that returns the daily rate dont 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. Marks
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: The application program that will allow
him to list the names of Airlines and the prices in ascending order is written separately. An AirlinesRateFinder class queries four Airline classes Air India, British Airways, Cathy Pacific, Emirates, Lufthansa for availability of dates and the rates.
Each Airline has a method that returns the daily rate dont 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. Marks
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