public class TrafficQueue { private Car[]queue; private int[]number; public TrafficQueue (int size){ this.size = size; } public void add(Car car){ int[]zeroToN = new int[10]; } public int getNumber(){ return number; } boolean isEmpty = i<=0; int i=queue.length; public static void main (String [] args){ int []queue = new int[5]; int []queue = {i, i*2, i*3, i*4, i*5} if the queue is full; System.out.println ("Queue full"); System.exit(1); } }