一。整型
1.byte:
1字节, -128 ~127
2.int
4字节, -2^31 ~ -^31
3.short
2字节, -32768 ~ 32767
4.long
8字节, -2^63 ~ 2^63-1
二。浮点型
5.float
4字节, -1.4^10-45 ~ 3.4028235^1038
三。布尔型
boolean
ture 或 false
四。字符型
7.char
2字节, 0 ~ 65535
1.byte:
1字节, -128 ~127
2.int
4字节, -2^31 ~ -^31
3.short
2字节, -32768 ~ 32767
4.long
8字节, -2^63 ~ 2^63-1
二。浮点型
5.float
4字节, -1.4^10-45 ~ 3.4028235^1038
三。布尔型
boolean
ture 或 false
四。字符型
7.char
2字节, 0 ~ 65535