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
A:
just like a normal Java Application:
Objects are passed by reference, primitives are passed by value
mohammad shamsi
2010-08-27 17:39:29
+2
A:
All parameter passing in Java is by value.
Here is a nice article with all the details.
Hélène Martin
2010-08-27 17:47:42
Java is pass by value...:)
SpunkerBaba
2010-08-27 18:31:19