Question: in java implement a room class that has the following its a hotel reservation system An input file (rooms.txt) which contains the information for each

in java
implement a room class that has the following
in java implement a room class that has the following its a
hotel reservation system An input file (rooms.txt) which contains the information for
its a hotel reservation system

An input file (rooms.txt) which contains the information for each room in the hotel. The file should include: number of rooms, and the information of each room including room ID, room rate, and whether it is smoking or non-smoking (in case the room is of type Single), or the number of people staying in the room (in case the room is of type Deluxe). All rooms' infor- mation will be stored in a list. An infi ......hatian fa 11 in the hotel Thi Each room in the hotel has a number and a rate per night. There are ONLY two types of rooms, Single and Deluxe. Single rooms can be either smoking or non-smoking. Whereas this option is not available for Deluxe rooms. On the other hand, in Deluxe rooms, the number of guests staying in the room might be different from a room to another, unlike Single rooms which only fit for one guest

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!