整数型:
byte 1字节
short 2字节
int 4字节
long 8字节
浮点型:
float 4字节
double 8字节
字符型:
char 2字节
布尔型:
boolean 1字节
一个字节等于8位 1byte = 8bit
文章仅作为个人学习整理
整数型:
byte 1字节
short 2字节
int 4字节
long 8字节
浮点型:
float 4字节
double 8字节
字符型:
char 2字节
布尔型:
boolean 1字节
一个字节等于8位 1byte = 8bit
文章仅作为个人学习整理