while (!theQueue.isEmpty()) { l = (lorry)theQueue.dequeue; tempQueue.enqueue (l); }
error in l = (lorry)th
l = (lorry)th