Question: in java langauage Design a class Hotels with the following description. Private Members: HotelCode of type int HotelName of type string Hotel Type of type

in java langauage
Design a class Hotels with the following description. Private Members: HotelCode of type int HotelName of type string Hotel Type of type string Public Members: Parameterized Constructor to intialise the values to members of class Hotels. A function Book Hotel() to allow user to enter values for hotelCode, hotelName and hotelType. A function ShowDetail() to allow user to view the content of all class members
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
