I always thought Java uses pass-by-reference.
However, I've seen a blog post that claims that Java uses pass-by-value.
I don't think I understand the distinction they're making.
What is the explanation?
2.6k questions
24 answers
34 comments
16.6k users