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

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 06:10
The head restraint should be adjusted so that it reaches a.the top of your ears b.the base of your skull c.the top of the head
Answers: 1
question
Computers and Technology, 23.06.2019 15:20
In a game with three frames, where will the objects on layer 1 appear? a. next to the play area b. in the middle of the game c. behind everything else d. in front of everything else
Answers: 1
question
Computers and Technology, 23.06.2019 22:00
Jackson, who works in the finance department of a company, is holding a seminar for other employees on how to file taxes. only three employees sign up to attend the seminar. which device can he use to share his presentation with a group of three employees?
Answers: 1
question
Computers and Technology, 24.06.2019 15:00
When a presentation is being planned, it is important to ensure that it covers all available information. appeals to the audience. uses multimedia tools. entertains the audience.
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
question
Geography, 06.01.2021 06:50
question
Mathematics, 06.01.2021 06:50
Questions on the website: 13722362