For the relational Hotel schema in the Exercises at the end of Chapter 4, suggest a number of methods that would be applicable to the system. Produce an object-oriented schema for the system.

Some methods might be:
createNewHotel destroyHotel changeHotelName
getHotelName
createNewRoom destroyRoom changeRoomPrice
changeRoomType getRoomPrice getRoomType
createNewGuest destroyGuest changeGuestName
changeGuestAddress getGuestName getGuestAddress
createNewBooking destroyBooking changeRoomNumber
changeDates getDateFrom getDateTo


Computer Science & Information Technology

You might also like to view...

What is the term for a method that is written by programmers as needed?

a. Dummy b. Custom c. Designer d. Variable e. None of these

Computer Science & Information Technology

Prepare a context diagram for New Century’s information system.

What will be an ideal response?

Computer Science & Information Technology

When creating a hyperlink, you enter the Web address in the ________ dialog box

Fill in the blank(s) with correct word

Computer Science & Information Technology

In most cases, it takes ____ lines of code to set up a case block when compared to an if expression that contains multiple elseif keywords.

A. More B. Fewer C. the same number of D. None of the above

Computer Science & Information Technology