Hotel-Management-Project-Java
Hotel-Management-Project-Java copied to clipboard
It is a Hotel Management tool which can be used to manage activites like storing customer details, booking rooms of four different types, ordering food for particular rooms, unbooking rooms and showin...
Hi I am enchancing the switch looop from the 20 no line of code.
Made an input class that will be used in the main program. Since some of the questions asks are kind of redundant.
This message is for educational purposes: The class model that you propose does not reflect the actual interaction between a Hotel, its Rooms and its Food services. This lack of...
in the Singleroom class there was a parameter that is not used
1 . Since the serializable interface is implemented on Singleroom and Doubleroom is extending SIngleroom ....So There's no need to implement it for the Doubleroom . 2 . Closed the...
In the following code there's a violation to the Single Responde Principle of SOLID design. ``` public class Singleroom implements Serializable{ String name; String contact; String gender; ArrayList food =new...
Switch Statement I found a switch on the bookroom method wich is too large  You can solve it applying the Replace Type Code with State/Strategy refactoring  Dead Code...
- used a Lazy initialization pattern on Hotel class - made variables private