I always thought Java was pass-by-reference, however I've seen a couple of blog posts (e.g. this blog ) that claim it's not. I don't think I understand the distinction they're making.
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Showing posts with label pass-by-reference. Show all posts
Showing posts with label pass-by-reference. Show all posts
Friday, May 25, 2012
Is Java pass-by-reference?
Monday, February 20, 2012
Java Variable References when using Lists
Just a thought question here. In C++, I could do the following:
Friday, February 10, 2012
JNI how get values updated to int and double fields
How do two values I pass into my JNI tossed down to C then C does its changes and updates the values. How do I get those two values(maxPower, index) and see then in Java? They always come back as zero.
Subscribe to:
Posts (Atom)