摘要:
以Person类为例,代码如下:package Reflection;public class Person { public long num; private String name; private int age; private boolean married; private char sex; private double salary; public Person() { } public Person(String name) { this.name = name; } public void Show() { ... 阅读全文