This method of the Queue Class retrieves the element last added to the queue.
public synchronized Object pop();
Returns the requested object.