title: values in queue Java
body: <p>If I have a queue with strings as values How would I print all the values I was using:</p>
  
  <pre><code>System.out.println(queue.elements().toString().); 
  </code></pre>
  
  <p>But it prints java objects...?</p>
  
  <p>Do I have to use a loop to print values of queue?</p>