摘要: 1 package com.my.study; 2 3 public class PassByValueTest { 4 5 public static void changeName(Person person) { 6 person.setName("NewName"); 7 } 8 9 public static void changePerson(Person person) {10 person = new Person();11 person.setName("LiLei");12 pe... 阅读全文
posted @ 2013-01-02 15:39 bruceHuang 阅读(242) 评论(0) 推荐(0) 编辑