Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed issue#93: fixed wrong reference #126

Merged
merged 1 commit into from
Jan 6, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/basics/object-oriented/why-pass-by-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### 辟谣时间

关于这个问题,在[StackOverflow][2]上也引发过广泛的讨论,看来很多程序员对于这个问题的理解都不尽相同,甚至很多人理解的是错误的。还有的人可能知道Java中的参数传递是值传递,但是说不出来为什么。
关于这个问题,在[StackOverflow][5]上也引发过广泛的讨论,看来很多程序员对于这个问题的理解都不尽相同,甚至很多人理解的是错误的。还有的人可能知道Java中的参数传递是值传递,但是说不出来为什么。

在开始深入讲解之前,有必要纠正一下大家以前的那些错误看法了。如果你有以下想法,那么你有必要好好阅读本文。

Expand Down Expand Up @@ -225,4 +225,4 @@ OK,以上就是本文的全部内容,不知道本文是否帮助你解开了
[3]: https://docs.oracle.com/javase/tutorial/java/javaOO/arguments.html
[4]: https://en.wikipedia.org/wiki/Evaluation_strategy
[5]: https://stackoverflow.com/questions/40480/is-java-pass-by-reference-or-pass-by-value
[6]: https://blog.penjee.com/passing-by-value-vs-by-reference-java-graphical/
[6]: https://blog.penjee.com/passing-by-value-vs-by-reference-java-graphical/