This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Dan's GC Question Doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Dan Watch "Dan New topic
Author

Dan's GC Question Doubt

Jas Oberai
Ranch Hand

Joined: Jan 16, 2005
Posts: 231
Hi friends,
I've this doubt with Dan's G.C question:


My Question,Why doesn't "ba" value refer to the same object as "b"??? Is it because its a
"pass_by_value",but dont we use "pass_by_reference" in case of objects.Please help me guys.
Thanks


SCJP 1.4 (88%)<br />SCWCD 1.4 (88%)
Amit Das
Ranch Hand

Joined: Mar 05, 2005
Posts: 206
In Java we dont have pass-by-reference at all......
suppose,


i hope this is clear enough.....if not, feel free to get back

thanx
amit
Jas Oberai
Ranch Hand

Joined: Jan 16, 2005
Posts: 231
Thanks Amit..for that nice and concise explanation.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dan's GC Question Doubt