You already know the size of your parking structure (one million slots), which physically makes sense. So if all the information you need is whether a lot is vacant, then use a bit array, where vacancy is false and occupied is true
boolean slots[] = new boolean[1000000];
If you need to store more info, such as information of car in the slot, distance of slot from nearest entrance, etc., then use:
Slot[] slots = new Slot[1000000];
and Slot class would be similar to
public class Slot{
Car car;//object for car in slot
boolean occupied;//whether slot is vacant: may be redundant
Cost cost;//a set of fields: distance from entrance; parking fee for "good" slots, etc.
}
And so you keep going...