摘要:
/* * 注解类 * */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface Demo04Check { } /**要执行的小明定义的计算器类 * @author :cza * @dat 阅读全文
摘要:
public static void main(String[] args) throws IOException, NoSuchMethodException, InvocationTargetException, IllegalAccessException, InstantiationExce 阅读全文
摘要:
反射类,获取类的构造函数 public class Demo01Person { public String getName() { return name; } public Demo01Person(String name, Integer age) { this.name = name; th 阅读全文