Skip to content

Commit 5cb170e

Browse files
authored
Update java-basic-questions-02.md
修改错别字
1 parent f394ba0 commit 5cb170e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/java/basis/java-basic-questions-02.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ Person person1Copy = person1.clone();
291291
System.out.println(person1.getAddress() == person1Copy.getAddress());
292292
```
293293

294-
从输出结构就可以看出,虽然 `person1` 的克隆对象和 `person1` 包含的 `Address` 对象已经是不同的了。
294+
从输出结构就可以看出,显然 `person1` 的克隆对象和 `person1` 包含的 `Address` 对象已经是不同的了。
295295

296296
**那什么是引用拷贝呢?** 简单来说,引用拷贝就是两个不同的引用指向同一个对象。
297297

0 commit comments

Comments
 (0)