Skip to content

[docs update] 更正浅拷贝的示例代码#1527

Merged
Snailclimb merged 1 commit intoSnailclimb:mainfrom
tiancixiong:patch-2
Feb 12, 2022
Merged

[docs update] 更正浅拷贝的示例代码#1527
Snailclimb merged 1 commit intoSnailclimb:mainfrom
tiancixiong:patch-2

Conversation

@tiancixiong
Copy link
Copy Markdown
Contributor

根据后面的测试代码 Person person1 = new Person(new Address("武汉")); 可以看出 Address 类中的 name 属性不能使用 final 修饰

update java-basic-questions-02.md
@Snailclimb Snailclimb merged commit 88f36fd into Snailclimb:main Feb 12, 2022
@tiancixiong tiancixiong deleted the patch-2 branch February 13, 2022 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants