title: Interpreting JAVA Command
body: <p>I am in a data structures class and have had about a year and half of experience with JAVA. I am trying to understand code which is not clearly defined in the book. In the following line:</p>
  
  <pre><code> Queue&lt;Integer&gt; encodingQueue = new LinkedList&lt;Integer&gt;();
  </code></pre>
  
  <p>I understand that we are creating a new LinkedList object of Queue type. My questions are:</p>
  
  <ol>
  <li>what is the &lt;> used with Integer for? And why is it also with the LinkedList object and not in the parameters?</li>
  <li>Why is the word Integer used and not int?</li>
  </ol>
  
  <p>Thanks!</p>