June 2002
Intermediate to advanced
864 pages
18h 35m
English
With the abstractions Reservable, Reservation, and Broker already in place, it now becomes very easy to implement a reservation system for a particular kind of reservable, such as a Hotel. Figure 5-2 illustrates our inheritance hierarchy. Hotel derives from Reservable, HotelReservation derives from Reservation, and HotelBroker derives from Broker.

In this section we will examine key pieces of the implementation of the case study, which is in the CaseStudy folder for this chapter.
Before proceeding with our code walkthrough, ...
Read now
Unlock full access