I am basically using Java Constructor chaining, to try and add vehicles to my TrafficQueue. If I run the below code:



The part of code I am struggling to get working is
Code:
 

    public void add(RoadVehicle vehicle) {
        if (isFull()) {
            System.out.println("Queue is full! We cannot add any more vehicles to the Queue!");
            System.exit(1);
...