Java is Pass-by-Value!

Java is strictly pass-by-value. which means, when you pass a variable to a method, the method will just make a copy of that varible and use that copy, not the original one!

check this

posted @ 2014-09-20 08:58  zmiao  阅读(222)  评论(0编辑  收藏  举报