mirror of
https://gitee.com/gaohongy/Java-Book.git
synced 2026-07-16 09:53:50 +00:00
更正错误
This commit is contained in:
+1
-1
@@ -195,7 +195,7 @@ The default value of a data field is null for a reference type, 0 for a numeric
|
||||
1. 引用变量:缺省是 null;
|
||||
2. 基本数值类型(小写的 int、float、double):缺省是0;
|
||||
3. char:缺省是 '\\u000';
|
||||
4. boolean:缺省是null;
|
||||
4. boolean:缺省是false;
|
||||
|
||||
数组中的变量缺省值遵循同样的标准
|
||||
|
||||
|
||||
Reference in New Issue
Block a user