title: How Numeric literal with underscore works in java and why it was added as part of jdk 1.7
body: <p>Can somebody please explain to me why this feature was added in JDK 7 and how it works?</p>
  
  <p>While going through the new features of JDK 7, I found following code.</p>
  
  <pre><code>int i;
  //Java 7 allows underscore in integer
  i=3455_11_11;
  </code></pre>