For this milestone we will update the Hotel class with an array. Create an instance variable called guests of array type Guest. Then create an Overloaded constructor to instantiate the array with the numOfRooms to represent the array size.
You will also have been introduced to an method called toString(). Updated all classes to use the toString() method.
Add setters and getters for all instance variables and set the instance variables to private (Guest and Hotel).
Create an UML for Guest and Hotel. Show the diagram on a word doc or PDF.
Submission:
Submit the modified hotel and guest classes. Submit the word or pdf doc showing the UML diagram.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here