public class Hotel {
public static final int ROOM_PRICE = 20;
public static final int SEAVIEW_SUPPLEMENT = 5;
public static final int SINGLE_OCCUPIER_SUPPLEMENT = 5;
public static final int DINNER_PRICE = 9;
//declaring
private Room[] array1;
//An integer value representing the amount of money the hotel taken.
private int hotelMoney = 0;
//declaring
private static int freeRooms=number of rooms available in the hotel;
//An integer value indicating the amount of free rooms available.
public void freeRooms()
{
freeRooms=freeRooms-1;
}
}
it says a ";" is expected and highlights the following:
private static int freeRooms=number of rooms available in the hotel;
any help would be appreciated.