title: Where and why use int a=new int?
body: <p>Just curious, what is the difference between:</p>
  
  <pre><code>int A = 100;
  </code></pre>
  
  <p>and </p>
  
  <pre><code>int A = new int();  
  </code></pre>
  
  <p>I know new is used to allocate memory on the heap..but I really do not get the context here.</p>