I'm getting a bunch of errors like this:
$ javac LotDatabase.java
LotDatabase.java:76: cannot resolve symbol
symbol : constructor ParkingSpace (int,int,int,int,boolean)
location: class ParkingSpace
spaces [j] = new ParkingSpace(i, j, 0, GENERAL, true);
Code is this:
ParkingSpace[] [] spaces = new ParkingSpace[1] [12];
spaces [j] = new ParkingSpace(i, j, 0, GENERAL, true);
Here's the constructor in the ParkingSpace class:
public ParkingSpace(int lotNo, int spaceNo, int floorNo, int spaceType, Boolean
available)
{
parkingLotNumber = lotNo;
spaceNumber = spaceNo;
floorNumber = floorNo;
type = spaceType;
spaceAvailable = available;
}