Question: Hotel System in Java Class Person People with first and last names. Class Building Every building has year of construction and number of floors. Class
Hotel System in Java
Class Person
People with first and last names.
Class Building
Every building has year of construction and number of floors.
Class Reservation
Reservation Number, date, the person, and the price per night
Check availability
Class Room
Includes Room type, price per night, room size, floor number, room number, and status
5 constructors, room number, price, size, room type, and floor.
Reserve, for start date, end date, and people
A status method, state of the room.
Class Hotel
Includes a hotel name, rate, owner, and rooms.
Getter method, getRooms
addOwner method which adds one owner to the hotels owners list.
addRoom method.
Testing Class
Create a hotel, with at least two owners and four rooms
Show the hotel and rooms information
Show state of the rooms
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
