值传递和引用传递
摘要:先看一段代码,是我遇到过的一道面试的笔试题: 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
posted @ 2017-07-13 16:17
posted @ 2017-07-13 16:03
posted @ 2017-06-29 15:55
posted @ 2017-06-28 20:48