摘要: Does Java pass by reference or pass by value?Why can't you swap in Java?By Tony Sintes, JavaWorld.com, 05/26/00Q:If Java uses the pass-by reference, why won't a swap function work?A:Your question demonstrates a common error made by Java language newcomers. Indeed, even seasoned veterans find 阅读全文
posted @ 2013-03-28 21:04 JustinYo 阅读(520) 评论(0) 推荐(0)