1字=2字节(byte)=16位(bit) 基本数据类型(primitive type) 数值型 整数类型 一字(word)等于两字节(B) 一字节等于8位(bit) byte 16bit short 1字 int 2字 long 4字 浮点类型 float 2字 double 4字 字符型 char 1字 布尔型 boolean 1byte 引用数据类型(reference type) 类 接口 数组