值传递和引用传递 举例 /** * 值传递和引用传递 */ class Person { private Integer id; private String personName; public Person(String personName) { this.personName = personName; } } public class TransferValueDemo { public void changeValue1(int age) { age =