摘要: 1 public class Person { 2 3 } 4 5 import java.lang.reflect.ParameterizedType; 6 import java.lang.reflect.Type; 7 8 public class Student extends Person { 9 public static void main(String[] args) {10 Student st=new Student();11 Class clazz=st.getClass();12 //getSuperclass()获得该类的父类13 System.out.pri... 阅读全文