hi,
How does Java handle integer overflows and underflows?
Thanks,
Hi friend,
Crossing the prescribed maximum and minimum limit size of the data type is called overflow and underflow. An integer if it overflows then it returns to the minimum value and then continues from there and if it underflows then it returns to the maximum value and then continues from there.