package cn.temptation; public class Sample01 { public static void main(String[] args) { // 成员方法的参数列表: // 1.参数列表中的数据类型是值类型 // 2.参数列表中的数据类型是引用类型 // A:一般的类:成员方法使用的该类的对象 Person person = new Person(); person.method(123); TestPerson testPerson = new TestPe…