四种基本数据类型 1、字符类型:char 2、布尔类型:boolean 3、整数型:byte short int long 4.、浮点型:float double 注意:String不属于基本数据类型 它是引用类型