Please enable JavaScript to use CodeHS

AP CSA: CON-1.C.5

CodeHS Lessons

Integer values in Java are represented by values of type int, which are stored using a finite amount (4 bytes) of memory. Therefore, an int value must be in the range from Integer.MIN_VALUE to Integer.MAX_VALUE inclusive.

6.6 Casting and Ranges of Variables
7.6 Casting and Ranges of Variables
1.6 Casting and Ranges of Variables