title: Nameless variable declaration - why does it work?
body: <p>I am surprised to see this behaviour. </p>
  
  <p>Is it a bug or something?</p>
  
  <pre><code>for(Object obj = new Object(), Integer = new Integer(300);
      obj.toString().length()&gt;3;
      System.out.println("on object's loop")) {
  
  } //causes an infinite loop (not foreach loop, of course)
  </code></pre>
  
  <p>above code compiles and run fine without any reference to <code>new Integer(300)</code>. Why so?</p>
  
  <p>I am only interested in knowing  why <code>Integer = new Integer(300);</code> is okay without any reference. </p>