首页
IT
登录
6mi
u
盘
搜
搜 索
IT
JAVA基本数据类型及长度
JAVA基本数据类型及长度
xiaoxiao
2021-03-26
5
类型 字节 表示范围 包装类 byte(字节型) 1 -128~127 Byte short(短整型) 2 -32768~32767 Short int(整型) 4 -2147483648~2147483647 Integer long(长整型) 8 -9223372036854775808 ~ 9223372036854775807 Long float(浮点型) 4 -3.4E38~3.4E38 Float double(双精度型) 8 -1.7E308~1.7E308 Double char(字符型) 2 从字符型对应的整型数来划分,其表示范围是0~65535 Charater booealn(布尔型) 1 true或false Boolean
转载请注明原文地址: https://ju.6miu.com/read-600396.html
技术
最新回复
(
0
)