Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A good travel agent is expected to check that a customer does not accidentally end up with mismatched reservations, such as a flight from NY

image text in transcribed
A good travel agent is expected to check that a customer does not accidentally end up with mismatched reservations, such as a flight from NY to Rome and hotel reservation in Karachi on the same night. Thus, there is a need to implement the responsibility "check trip" that flags itineraries with mismatched reservations. These flagged itineraries require special attention. Consider these statements about the assignment of this responsibility: I. The Ticket and HotelReservation class are jointly responsible for carrying out the "check trip" responsibility. II. The "check trip" responsibility must lie with the Trip class. III. It is useless to implement the responsibility because some customers might get a rental car and drive to an unknown destination. Which of the choices above describe suitable design decision(s) for the travel agency's itinerary system? Why? a. I only b. II only c. III only d. I and II only e. I, II, and

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

Databases Illuminated

Authors: Catherine Ricardo

2nd Edition

1449606008, 978-1449606008

More Books

Students also viewed these Databases questions

Question

=+what kinds of policies and practices should be developed?

Answered: 1 week ago