一、基本数据类型:四类八种 1、整数类型:byte、short、int、long 2、浮点类型:float、double 3、字符类型:char、boolean。 4、boolean(布尔型) 二、引用数据类型:除了基本类型都是引用数据类型