1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-16 18:10:13 +08:00

fix typo: flase -> false

Signed-off-by: sam <sam2008ext@gmail.com>
This commit is contained in:
sam 2022-02-26 03:04:00 +08:00
parent 1c1501a5b9
commit b2933cca07
2 changed files with 2 additions and 2 deletions

View File

@ -749,7 +749,7 @@ Double i4 = 1.2;
System.out.println(i3 == i4);// 输出 false System.out.println(i3 == i4);// 输出 false
``` ```
下面我们来看一下问题。下面的代码的输出结果是 `true` 还是 `flase` 呢? 下面我们来看一下问题。下面的代码的输出结果是 `true` 还是 `false` 呢?
```java ```java
Integer i1 = 40; Integer i1 = 40;

View File

@ -551,7 +551,7 @@ public static Boolean valueOf(boolean b) {
如果超出对应范围仍然会去创建新的对象,缓存的范围区间的大小只是在性能和资源之间的权衡。 如果超出对应范围仍然会去创建新的对象,缓存的范围区间的大小只是在性能和资源之间的权衡。
下面我们来看一下问题。下面的代码的输出结果是 `true` 还是 `flase` 呢? 下面我们来看一下问题。下面的代码的输出结果是 `true` 还是 `false` 呢?
```java ```java
Integer i1 = 40; Integer i1 = 40;