Which parameter passing method is used in Android? Pass by reference or Pass by Value? Please provide an Android Specific example for the same.
2 Answers
just like a normal Java Application:
Objects are passed by reference, primitives are passed by value
1 Comment
Tristan Warner-Smith
The article posted by Hélène points out that Object references are passed by value, which has a different meaning than with primitives where their value is what's passed.