Skip to content

Commit

Permalink
Merge pull request #126 from changfubai/issue93
Browse files Browse the repository at this point in the history
fixed issue#93: fixed wrong reference
  • Loading branch information
hollischuang committed Jan 6, 2021
2 parents dd07682 + d2185fe commit 6a5ffc4
Showing 1 changed file with 2 additions and 2 deletions.
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/

0 comments on commit 6a5ffc4

Please sign in to comment.