当我将一些数字添加到 Integer 的最大值时出现问题,我不再高于最大值,因为数字更改为 Integer.MIN_VALUE + 加值 -1,我应该如何检查它?`
int max = Integer.MAX_VALUE;
int x = max +100;
if (x > max){
System.out.println(x + "x is not bigger, so it wont be printed.");
}
}
}`