From ab31b2c434259b5383159ba5a86c0321b449a5ee Mon Sep 17 00:00:00 2001 From: Danny <12793148@qq.com> Date: Mon, 17 Apr 2023 15:03:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=AD=A3=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 03:类与对象/01.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/03:类与对象/01.md b/03:类与对象/01.md index 3adc356..9417be7 100644 --- a/03:类与对象/01.md +++ b/03:类与对象/01.md @@ -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; 数组中的变量缺省值遵循同样的标准