Question
Create a class diagram UML for these tasks: 1. create class Customer with all needed info (national id, first name, last name, email, phone number,
Create a class diagram 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
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started