java数据类型 1、八种数据类型: 整数型:byte、short、int、long 1、2、4、8 浮点型:float、double 4、8 字符型:char 2 布尔型:boolean 2、一个字节八个bit