Calculate with Integers
<p>So I got to a site where it says Integers don't allow Calculate with it, + - * / % ^ etc.</p>

<p>But I tried </p>

<pre><code>Integer n=new Integer(8);
    n+=2;
    Integer m=new Integer(10);
    System.out.println(n+m);
</code></pre>

<p>and it prints out 20. So I am a little confused. I know this is a noob question but I really want to get this and I don't know what I am missing. So what does this actually mean "integers don't allow calculate with it"</p>

<p>Thanks.</p>

<p>EDIT: @people request :<a href="http://mindprod.com/jgloss/intvsinteger.html" rel="nofollow">Site providing accurate information?</a></p>
