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

Merge pull request #1527 from tiancixiong/patch-2

[docs update] 更正浅拷贝的示例代码
This commit is contained in:
Guide哥 2022-02-13 00:16:33 +08:00 committed by GitHub
commit 88f36fd6e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,7 +123,7 @@ public class Student {
```java
public class Address implements Cloneable{
private final String name;
private String name;
// 省略构造函数、Getter&Setter方法
@Override
public Address clone() {