static int MAX_VALUE
值为 2^31-1 的常量,它表示 int 类型能够表示的最大值。
static int MIN_VALUE
值为 -2^31 的常量,它表示 int 类型能够表示的最小值。
并且会有
Integer.MAX_VALUE+1==Integer.MIN_VALUE
时间: 2024-08-15 16:39:22
static int MAX_VALUE
值为 2^31-1 的常量,它表示 int 类型能够表示的最大值。
static int MIN_VALUE
值为 -2^31 的常量,它表示 int 类型能够表示的最小值。
并且会有