Computers and Technology

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.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 04:40, debo4965
Amain idea is supported, explained, or expanded on with a numbers b. a concluding statement c. details d. a topic sentence. im e paragraphs reset nex next
Answers: 2
image
Computers and Technology, 22.06.2019 22:20, gingerham1
Avariable of the data type arrays is storing 10 quantities. what is true about these quantities? a. the quantities all have different characteristics. b. the quantities all have the same characteristics. c. five quantities have the same and five have different characteristics. d. it is necessary for all quantities to be integers. e. it is necessary for all quantities to be characters.
Answers: 2
image
Computers and Technology, 24.06.2019 15:30, jerry1496
If you want to delete an entire word at a time, which key should you press along with the backspace or delete key?
Answers: 1
image
Computers and Technology, 24.06.2019 15:50, coralaguilar1702
Andy would like to create a bulleted list. how should he do this? andy should click on the bullet icon or select the bullet option from the menu and then type the list. andy should press the shift key and the 8 key at the beginning of each line of text. andy should type the text and then click on the bullet command. andy should press return and the bullets will automatically
Answers: 2
Do you know the correct answer?
1. develop a simple hotel program. we will have two classes, a hotel class representing an individua...

Questions in other subjects: