This method of the Queue Class retrieves a string representation of the Queue object.
public String toString();
Returns a string.