@Design_Gurus @Educative
public class Admin extends Account {
public bool addParkingFloor(ParkingFloor floor);
public bool addParkingSpot(String floorName, ParkingSpot spot);
public bool addParkingDisplayBoard(String floorName, ParkingDisplayBoard displayBoard);
public bool addCustomerInfoPanel(String floorName, CustomerInfoPanel infoPanel);
public bool addEntrancePanel(EntrancePanel entrancePanel);
public bool addExitPanel(ExitPanel exitPanel);
}
In this class , what do you mean by bool, there is no data type bool in java .
2nd point Admin is not a abstract class nor the public bool addParkingFloor(ParkingFloor floor); methods then why did you declare them like abstract methods.
**I can assume that these are the typos or mistakes. **
Or else it just written it this manner due to lack of patience or concentration.
I have seen that there is no consistency in the given code.