Users Pricing

forum

home / developersection / forums / is java “pass-by-reference” or “pass-by-value”?

Is Java “pass-by-reference” or “pass-by-value”?

Royce Roy 2375 01 May 2015

I always thought Java was pass-by-reference; however I've seen a couple of blog posts (for example, this blog) that claim it's not. I don't think I understand the distinction they're making.

What is the explanation?



Royce Roy

Other


1 Answers

Anonymous User 02 May 2015 Accepted Answer