取整数的最大值和最小值
Integer.MAX_VALUE == 2147483647
Integer.MIN_VALUE == -2147483648
Integer.MAX_VALUE + 1 == -2147483648
Integer.MIN_VALUE - 1 == 2147483647
Integer.parseInt(“2147483648”) throw java.lang.NumberFormatException: For input string: “2147483648”
LeetCode 小注(Java 语言描述)
最新推荐文章于 2020-04-29 21:51:24 发布