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

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
Get step-by-step solutions from verified subject matter experts
