基本数据类型 1 布尔类型 true、false 2 数字类型 整数类型 byte、short、int、long 浮点类型 float、double 3 字符型 char 引用数据类型 1 类 2 接口类型 3 数组类型 4 枚举类型 5 注解类型