My Project

This commit is contained in:
2026-09-24 09:32:43 +09:00
parent 22821c879c
commit 7d93413341
4 changed files with 124 additions and 14 deletions

View File

@@ -1,10 +1,10 @@
package hotelReservation;
public class DeluxeRoom extends Room {
private int serviceFees;
private double serviceFees;
public DeluxeRoom (int roomNumber,int serviceFees) {
super (roomNumber,6990); //make service fees for Deluxe romm
public DeluxeRoom (int roomNumber,double serviceFees) {
super (roomNumber,15990.0); //make service fees for Deluxe romm
this.serviceFees = serviceFees;
}
@Override