整型: byte 占1个字节 short 占2个字节 int 占4个字节 long 占8个字节浮点型: float 单精度,占4个字节 double 双精度,占8个字节字符型: char 占2个字节布尔类型: boolean 占1个字节