1.基本数据类型
8种基本数据类型
整型:byte int short long
浮点型:float double
希尔型:boolean
字符型:char
int 4字节
short 2字节
long 8字节
byte 1字节
float 4字节
double 8字节
(1字节=8bit)
引用类型 String
Java基础-数据存储
最新推荐文章于 2024-06-12 11:59:04 发布
1.基本数据类型
8种基本数据类型
整型:byte int short long
浮点型:float double
希尔型:boolean
字符型:char
int 4字节
short 2字节
long 8字节
byte 1字节
float 4字节
double 8字节
(1字节=8bit)
引用类型 String