Skip to content

Commit 6c784c7

Browse files
authored
[docs update] 更正浅拷贝的示例
update java-basic-questions-02.md
1 parent e346130 commit 6c784c7

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
@@ -123,7 +123,7 @@ public class Student {
123123

124124
```java
125125
public class Address implements Cloneable{
126-
private final String name;
126+
private String name;
127127
// 省略构造函数、Getter&Setter方法
128128
@Override
129129
public Address clone() {

0 commit comments

Comments
 (0)