...
However, the loop never terminates; successive ! Successive values of i
are 1, 3, 5, 7, 9, and 11, allowing etc.; the comparison with 10 never evaluates to be skipped true
. The value reaches the maximum representable positive number (Integer.MAX_VALUE
), then wraps to the second lowest negative number (Integer.MIN_VALUE
+ 1). It then works its way up to ?-1, then 1, and proceeds as described earlier.
...