摘要: Java中方法的参数传递方式是什么? 相信不少人会认为Java和C是一样的:当参数是基本数据类型时采用值传递而参数是非基本数据类型是采用引用传递即地址传递。真的是这样吗? 先看段代码: public class Snippet { public static void main(String[] a 阅读全文
posted @ 2016-02-23 18:22 Scort 阅读(1756) 评论(0) 推荐(0) 编辑
摘要: 这是我在CNBLOGS的第一天。 This is my first day in CNBLOGS. 阅读全文
posted @ 2016-02-23 17:26 Scort 阅读(112) 评论(0) 推荐(0) 编辑