Skip to main content
Post Locked by blackgreen
Notice added Wiki Answer by blackgreen
corrected format
Source Link
webwizard
  • 3.8k
  • 1
  • 25
  • 38

I always thought Java uses pass-by-referencepass-by-reference. However, I read a blog post which claims that Java uses pass-by-valuepass-by-value. I don't think I understand the distinction the author is making.

What is the explanation?

I always thought Java uses pass-by-reference. However, I read a blog post which claims that Java uses pass-by-value. I don't think I understand the distinction the author is making.

What is the explanation?

I always thought Java uses pass-by-reference. However, I read a blog post which claims that Java uses pass-by-value. I don't think I understand the distinction the author is making.

What is the explanation?

Fixed grammar and structure
Source Link
2240
  • 1.7k
  • 3
  • 17
  • 36

I always thought Java uses pass-by-referencepass-by-reference.

  However, I've seenI read a blog post thatwhich claims that Java uses pass-by-valuepass-by-value.

  I don't think I understand the distinction they'rethe author is making.

What is the explanation?

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?

I always thought Java uses pass-by-reference. However, I read a blog post which claims that Java uses pass-by-value. I don't think I understand the distinction the author is making.

What is the explanation?

Last edit changed meaning of the question. Editing back problematic part.
Source Link
Dalija Prasnikar
  • 28.7k
  • 46
  • 97
  • 179

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 in the post. 

What is the difference between the twoexplanation?

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 in the post. What is the difference between the two?

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?

Light editing to improve readability
Source Link
Yves Gurcan
  • 1.2k
  • 1
  • 14
  • 25
Loading
Notice removed Reward existing answer by v010dya
Bounty Ended with Alex de Kruijff's answer chosen by v010dya
Notice added Reward existing answer by v010dya
Bounty Started worth 150 reputation by v010dya
Notice removed Reward existing answer by Javier G.Raya
Bounty Ended with erlando's answer chosen by Javier G.Raya
Notice added Reward existing answer by Javier G.Raya
Bounty Started worth 100 reputation by Javier G.Raya
elaborated on link, and changed wording to sound better
Source Link
Loading
Post Unlocked by CommunityBot
Notice removed Content dispute by user3956566
Post Locked by CommunityBot
Notice added Content dispute by user3956566
Corrected spelling
Source Link
Ramon Balthazar
  • 4.3k
  • 4
  • 30
  • 38
Loading
Formatted structure to be more readable.
Source Link
Rann Lifshitz
  • 4.1k
  • 4
  • 27
  • 43
Loading
grammar
Source Link
jmarkmurphy
  • 11.6k
  • 37
  • 62
Loading
Grammar fixes
Source Link
Loading
Notice removed Reward existing answer by madhead
Bounty Ended with erlando's answer chosen by madhead