byte: -128~+127
short
int:129
long
float:1.5f (1.5被系统默认为double)
double:4.5d
char:‘s‘ ‘1‘
boolean:true false
字符串常量:"hello world"
时间: 2024-10-08 16:11:58
byte: -128~+127
short
int:129
long
float:1.5f (1.5被系统默认为double)
double:4.5d
char:‘s‘ ‘1‘
boolean:true false
字符串常量:"hello world"