摘要:
Does Java pass by reference or pass by value?Why can't you swap in Java?英文地址:http://www.javaworld.com/javaworld/javaqa/2000-05/03-qa-0526-pass.htmlIf Java uses the pass-by reference, why won't a swap function work?如果java通过值传递,那不就是一个交换函数的功能吗?Your question demonstrates a common error made by J 阅读全文
posted @ 2013-03-19 09:57
歌颂者
阅读(364)
评论(0)
推荐(0)