基本类型:
整数类型:byte 1字节
shout 2字节
int 4字节
long 8字节
浮点类型:
float 4字节
double 8字节
字符类型:
char 2字节
boolean类型:
只有ture和false 1位
引用数据类型:
类。接口。数组。
一个字节🟰8位
整数类型:byte 1字节
shout 2字节
int 4字节
long 8字节
浮点类型:
float 4字节
double 8字节
字符类型:
char 2字节
boolean类型:
只有ture和false 1位
类。接口。数组。
一个字节🟰8位