摘要:
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... 阅读全文