1.Java中的基本数据类型以及所占内存大小
(1)整形
byte 1字节
short 2字节
int 4字节
long 8字节
(2)浮点型
float 4字节
double 8字节
(3)字符类型
char 2字节(Unicode-16)