摘要: 获取运行时类的完整结构: package Reflection2;@MyAnntation(value = "hi")public class Person extends Creature<String> implements Comparable<String>,MyInterface{ pri 阅读全文
posted @ 2022-08-05 17:44 zjw_rp 阅读(29) 评论(0) 推荐(0)
摘要: 创建运行时类的对象: package Reflection1;​public class Person{ @Override public String toString() { return "Person{" + "name='" + name + '\'' + ", age=" + age + 阅读全文
posted @ 2022-08-05 10:45 zjw_rp 阅读(120) 评论(0) 推荐(0)