Link Details

Remember that when you pass a parameter in java, java is always "pass-by-value".

Posted by mitchp  |   Sep 06 2013 / 08:50

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Comments

User 236075 avatar

henk replied ago:

O... M... G... Are people -still- discussing this? Java is call by value. The spec says it, the Sun/Oracle training materials say it, articles 10 years old with 1000+ replies say it, and just by a second of reasoning you can deduce it. Absolutely incredible that some people are still not getting this.

Reply 0 votes

Recommended Links

Scala
Written by: Ryan Knight
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Play
  3. Akka
  4. Debugging JavaScript
  5. Design Patterns
  1. Apache Hadoop
  2. REST
  3. Java
  4. Git
  5. Java Performance
Connect with DZone