基本数据类型以及String未初始化赋予的默认值



String 的是null;

boolean  false
char   '/uoooo'(null)   表现其实相当于一个长度的' '
byte (byte)0
short (short)0
int    0
long  0L
float 0.0f
double  

0.0d


猜你喜欢

转载自blog.csdn.net/bingguang1993/article/details/80278182
今日推荐