Passing by reference in Java?

Posted by Mike on Stack Overflow See other posts from Stack Overflow or by Mike
Published on 2010-03-24T00:05:12Z Indexed on 2010/03/24 0:13 UTC
Read the original article Hit count: 484

Filed under:

In C++, if you need to have 2 objects modified, you can pass by reference. How do you accomplish this in java? Assume the 2 objects are primitive types such as int.

© Stack Overflow or respective owner

Related posts about java

Related posts about PASS