第一类 整型 byte short int long
第二类 浮点型 float double
第三类 布尔型 boolean
第四类 字符型 char
在内存中所占得字节
boolean 1
byte 1
char 2
short 2
int 4
float 4
long 8
double 8

posted on 2020-11-05 12:36  吴。。。。。  阅读(80)  评论(0编辑  收藏  举报