So I got to a site where it says Integers don't allow Calculate with it, + - * / % ^ etc.
But I tried
Integer n=new Integer(8);
n+=2;
Integer m=new Integer(10);
System.out.println(n+m);
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"
Thanks.
EDIT: @people request :Site providing accurate information?