title: Variable assignment: int x = x = 1
body: <p>This is allowed by the Java compiler, what is it doing?</p>
  
  <pre><code>int x = x = 1;
  </code></pre>
  
  <p>I realize that x is assigned to x, but how can it have two <code>=</code>s?</p>