值传递和引用传递
摘要:
先看一段代码,是我遇到过的一道面试的笔试题: 1 /** 2 * ***面试题 3 */ 4 public class StringBufferTest { 5 public static void main(String[] args) { 6 int i = 10; 7 test(i); 8 S 阅读全文
posted @ 2017-07-13 16:17 默默红尘 阅读(274) 评论(0) 推荐(0) 编辑
posted @ 2017-07-13 16:17 默默红尘 阅读(274) 评论(0) 推荐(0) 编辑
posted @ 2017-07-13 16:03 默默红尘 阅读(823) 评论(0) 推荐(0) 编辑