title: Java: When creating an object, why isn't the interface on the right hand side?
body: <pre><code>java.util.Queue&lt;TreeNode&gt; queue = new java.util.LinkedList&lt;TreeNode&gt;();
  </code></pre>
  
  <p>LinkedList implements Queue. Shouldn't Queue be on the right side of the above statement and LinkedList the left?</p>