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 showing the bill.
Hello!
I communicate to you about a violation with Open-Close Principle inside of Hotel Class because of possibilities in add different services given by hotel, is necessary to implement an interface which doing these works due to variety of rooms and avoid risk in constantly modifications on principal class.
Hello! I communicate to you about a violation with Open-Close Principle inside of Hotel Class because of possibilities in add different services given by hotel, is necessary to implement an interface which doing these works due to variety of rooms and avoid risk in constantly modifications on principal class.