forum

Home / DeveloperSection / Forums / Is Java “pass-by-reference” or “pass-by-value”?

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

Royce Roy194501-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?



Updated on 02-May-2015

Can you answer this question?


Answer

1 Answers

Liked By