title: Difference between local variable initialize null and not initialize?
body: <p>In Java, what is the difference and best way to do?</p>
  
  <pre><code>Integer x = null; // x later assign some value.
  Integer y; // y later initialize and use it.
  </code></pre>