subject

1. develop a simple hotel program. we will have two classes, a hotel class representing an individual hotel and a room class. the hotel class will contain several room objects and will have several operations. we will also have a driver program to test the hotel class. 2. build a hotel class that will store information about a hotel. it will include a name and location. it should also include an array of instances of class room to hold information about each room. it will also have an int called occupiedcnt that keeps track of how many rooms in the hotel are occupied. you must use an array, you cannot use an arraylist. set the array to hold 10 room objects. 3. build a hoteltest class to test your application. your test class should not require any interaction with the user. it should verify the correct operation of the constructor and all public methods in the hotel class. create at least 5 rooms.

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 15:10, reycaden
David is in week 3 of his current ashford course and has a paper due by monday night at midnight. he has finished everything but the concluding paragraph. as he boots up his computer to work on it, he sees a flash across the screen and then the screen goes black. he begins to panic as he tries desperately to turn the laptop back on. david should have saved his work on what kind of portable device?
Answers: 2
image
Computers and Technology, 22.06.2019 17:30, jonquil201
Where would you click to edit the chart data?
Answers: 1
image
Computers and Technology, 23.06.2019 05:20, reeeeeee32
What did creator markus “notch" persson initially call his game
Answers: 1
image
Computers and Technology, 23.06.2019 08:30, Calirose
When you interpret the behavior of others according to your experiences and understanding of the world your evaluation is
Answers: 1
You know the right answer?
1. develop a simple hotel program. we will have two classes, a hotel class representing an individua...

Questions in other subjects:

Konu
Biology, 24.01.2021 08:20
Konu
English, 24.01.2021 08:20
Konu
Chemistry, 24.01.2021 08:20
Konu
Business, 24.01.2021 08:20