java-通过反射获取目标类的属性,方法,构造器
首先定义一个urse 1 package com.studay_fanshe; 2 3 public class User { 4 private String uname; 5 private int age; 6 private int id; 7 8 public User() { 9 }10 11 ...