摘要:
实体类需要先继承要复制的实体类 public class entityCope { public static void main(String[] args) throws Exception { a a = new a(); b b = new b(); b.setAddre("河北邯郸"); 阅读全文
摘要:
public class ClassUtil { //获取类的方法、返回值和参数 public void ClassPrintMethodMessage(Object obj){ //获取类类型 Class cls = obj.getClass(); System.out.println("类名:" 阅读全文