1、数值型:byte(1字节),short(2字节),int(4字节),long(8字节) --默认int
2、浮点类型:float(4字节),double(8字节) --默认double
3、字符型:char(2字节)
4、布尔型:boolean(1字节)

1、数值型:byte(1字节),short(2字节),int(4字节),long(8字节) --默认int
2、浮点类型:float(4字节),double(8字节) --默认double
3、字符型:char(2字节)
4、布尔型:boolean(1字节)