- Joined
- Jul 6, 2005
- Messages
- 984
- Likes received
- 0
- Thanks received
- 0
- Location
- Yoorope

)sunnysan said:<google_shield_on>
I think that all are passed in by value. Primitives are passed in by value and Objects are not passed in , only references to them which strictly speaking would be a value.
</google_shield_on>
Do I get the boot or the contract now?
Cowboy Bob said:Yep. Everything in Java is passed by value. With objects you pass the pointer by value.
bobhope said:For some reason, most people I interview think that the object itself (not the reference) is passed by value