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.

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!