- 博客(1)
- 收藏
- 关注
转载 java中short、int、long、float、double取值范围
一、分析基本数据类型的特点,最大值和最小值。 1、 基本类型:int 二进制位数:32 包装类:java.lang.Integer 最小值:Integer.MIN_VALUE= -2147483648 (-2的31次方) Math.abs(-2147483648) 最大值:Integer.MAX_VALUE= 2147483647 (2的31次方-1) 2、 基本类型:short
2017-02-19 22:56:06
556
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人