Question: Create a UML for these tasks: 1. create class Customer with all needed info (national id, first name, last name, email, phone number, and address).

Create a UML for these tasks:

1. create class Customer with all needed info (national id, first name, last name, email, phone number, and address).

2. create Arrylist of customer.

3. create class Room with all needed info (building number, floor number, room number).

4. create classes (EconomyRoom , DeluxeRoom , SuiteRoom) inheritance from Room class.

5. create Arrylist of Rooms.

6. create class Date.

7. create class Reservation (room with a number of guests, number of nights, and check-in date).

8. create method to add customer reservation information.

9. create Arrylist -> reservations according to the check-in date.

10. create toString():reservation information.

11. create method to remove customer reservation information.

12. print all customer Arrylist.

class diagram UML**

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!