基础数据类型内存大小 byte 1字节 short 2字节 int 4字节 long 8字节 boolean 1字节 char 2字节 float 4字节 double 8字节 记忆顺序 1248 byte,short ,int,long 1248 boolean,char,float,double 1248