Question: Topic: SYSTEM ANALYSIS AND DESIGN Question1 : A hotel has a number of rooms that can be rent by guests. There are also a number
Topic: SYSTEM ANALYSIS AND DESIGN
Question1: A hotel has a number of rooms that can be rent by guests. There are also a number of bathrooms, which are either connected to a specific room or are used to service multiple rooms on the floor. The rooms are classified into three types: single rooms, double rooms and family rooms.
a) List the THREE (3) different types of classes you would want to include in your system.
b) Give ONE (1) attribute for EACH class that you have identified in a).
c) Based on your answer in a) and b), do arrange them into an inheritance hierarchy if necessary.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
