摘要: /* * 注解类 * */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface Demo04Check { } /**要执行的小明定义的计算器类 * @author :cza * @dat 阅读全文
posted @ 2020-03-10 17:22 ☆♂安♀★ 阅读(664) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) throws IOException, NoSuchMethodException, InvocationTargetException, IllegalAccessException, InstantiationExce 阅读全文
posted @ 2020-03-10 03:18 ☆♂安♀★ 阅读(576) 评论(0) 推荐(0) 编辑
摘要: 反射类,获取类的构造函数 public class Demo01Person { public String getName() { return name; } public Demo01Person(String name, Integer age) { this.name = name; th 阅读全文
posted @ 2020-03-10 02:50 ☆♂安♀★ 阅读(2013) 评论(0) 推荐(0) 编辑