Reputation: 2127
Which parameter passing method is used in Android? Pass by reference or Pass by Value? Please provide an Android Specific example for the same.
Upvotes: 2
Views: 4687
Reputation: 1441
All parameter passing in Java is by value.
Here is a nice article with all the details.
Upvotes: 5
Reputation: 16952
just like a normal Java Application:
Objects are passed by reference, primitives are passed by value
Upvotes: 5