Question: plz solve it fast java course UTAS Hotel announced offers on room reservations for the holiday season. (20marks) Write Java program with the following requirements:
plz solve it fast
java course


UTAS Hotel announced offers on room reservations for the holiday season. (20marks) Write Java program with the following requirements: a) Create a superclass for the Customer with the following requirements: (0.5mark) Member variables. customer's code and name, the number of days and room rate. (Imark) Member methods to: declare constructors to initialize the variables (Ilmark) determine the customer category base on the customer code as follows: customer code Categon (1.5marks) 12 Platinum Gold Other codes Silver display all the super class variables (lmark) calculate and display total price which will multiple the number of days and room rate (1mark) 0 . b) Create a subclass named HotelBooking inherited from the superclass with requirements below: (1mark) Member variables: reservationNum, roomNum (1mark) Member methods to: declare constructor to invoke superclass constructor and initialize the subclass variables (1.5marks) display all the sub class variables (lmark) calculate and display discount base on the table below: (2 marks) 22umber of dois DISCOUPE >7 days 25% of dailyPrice -----3 to 6 days Price
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
