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

Merge pull request #1574 from samho2008/fix-typo-flase

fix typo: flase -> false
This commit is contained in:
Guide哥 2022-02-26 08:09:54 +08:00 committed by GitHub
commit cb732aad2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;