title: Java, two objects, object1 = object2 = class/type ... don't understand
body: <p>I have two instance variables, head and tail. In the code there's a line:</p>
  
  <pre><code>head = tail = new Node&lt;E&gt;();
  </code></pre>
  
  <p>Does this mean that there are two instances, head and tail, of class Node? I'm quite confused here.</p>