Wiki Markup |
---|
According to Sun's Secure Coding Guidelines document \[[SCG 2007|AA. Bibliography#SCG 07]\] |
...
- For byte, from â“128 to 127, inclusive
- For short, from â“32768 to 32767â“32,768 to 32,767, inclusive
- For int, from â“2147483648 to 2147483647â“2,147,483,648 to 2,147,483,647, inclusive
- For long, from â“9223372036854775808 to 9223372036854775807â“9,223,372,036,854,775,808 to 9,223,372,036,854,775,807, inclusive
- For char, from '
\u0000
' to '\uffff
' inclusive, that is, from 0 to 6553565,535
The table below shows the integer overflow behavior of the integral operators.
...