从 Class中获取信息 //取得宣告的建构方法代表对象 Constructor[] constructors c.getDeclaredConstructors ( for( constructor constructor constructors)( 显示权限修饰,像是 public、 protected丶 private System. out. print("\t"+ Modifier tostring( constructor. getModifiers()) //显示建构方法名称 System. out. println(+ constructor getName()+()i)i从Class中获取信息 //取得宣告的建构方法代表对象 Constructor[] constructors = c.getDeclaredConstructors(); for(Constructor constructor : constructors) { //显示权限修饰,像是public、protected、private System.out.print("\t" + Modifier.toString( constructor.getModifiers())); //显示建构方法名称 System.out.println(" " + constructor.getName() + "();"); }