title: Variable default value in Java
body: <p>Every type in Java has a primitive value when declared. The article <em><a href="http://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html" rel="noreferrer">Primitive Data Types</a></em> contains a description for primitive data types. Knowing this, why does Eclipse show an error telling me the variable may not have been initialized?</p>
  <p>If I have, for example,</p>
  <pre><code>int x;
  x++;
  </code></pre>