Is Java “pass-by-reference” or “pass-by-value”?
I thought Java uses pass-by-reference.
However, I've seen a couple of articles that claim that it isn't (the blog post says that Java uses pass-by-value).
I don't think I understand the difference between them.
What is the explanation?