八大数据类型
整型
1• byte, 占1个字节, 8位. 2• short, 占2个字节,16位. 3• int, 占4个字节,32位. 4• long, 占64个字节; 8位. 字符型
5• char, 占1个字节, 8位.
浮点型
6• float, 占float 4个字节,单精度. 7• double, 占double 8个字节,双精度.
布尔型