原创 Reflect獲取私有屬性和私有方法

Person類: public class Person{ private int age = 18; private int getAge(int a) { return age + a; }