About the Integer Class
The Integer defines integral value between -231 to 231-1 . The BigInteger class contains those integers that are larger.
An Integer literal can be expressed in decimal (base 10) or hexadecimal (base 16). The following are examples of Integer literals:
0 2i -23 0372 0xDadaCafe 1996I 0x00FF00FF
For more information on Integer literals, see Integer Literals.