基本数据类型: 字节(位) 默认值
布尔型 boolean 1(8位) false
字节型 byte 1(8位) 0
短整型 short 2(16位) 0
整型 int 4(32位) 0
长整型 long 8(64位) 0
字符型 char 2(16位)
单精度型 float 4(32位) 0.0F
双精度型 double 8(64位) 0.0D
布尔型 boolean 1(8位) false
字节型 byte 1(8位) 0
短整型 short 2(16位) 0
整型 int 4(32位) 0
长整型 long 8(64位) 0
字符型 char 2(16位)
单精度型 float 4(32位) 0.0F
双精度型 double 8(64位) 0.0D