开发者

Android Parameter Passing Method

Which parameter passing method is used in Android? Pass by reference or Pass by Value? Please provide an Android Specific example for the same.开发者_开发知识库


All parameter passing in Java is by value.

Here is a nice article with all the details.


just like a normal Java Application:

Objects are passed by reference, primitives are passed by value

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜