首页 > TAG信息列表 > test124
java172-使用class实现反射编程,创建对象
//class反射编程 //定义一个学生类 public class test124 { public String name; protected int age; double height; private double money; public test124(String name,Integer age){ this.name=name; this.age=java174-constructor类反射编程
//class反射编程 //定义一个学生类 public class test124 { public String name; protected int age; double height; private double money; public void setName(String name) { this.name = name; } public Stjava175-method类反射机制
//class反射编程 //定义一个学生类 public class test124 { public String name; protected int age; double height; private double money; public void setName(String name) { this.name = name; } public St