JavaSE基础-------反射
实体类Role
package com.oplb.test;
public class Role {
Role(){
}
private Role(int age,String name){
this.age=age;
this.name=name;
}
private int age;
private String name;
public int getAge() {
return age;
}
private void setAge(int age) {
th
原创
2020-07-06 12:21:07 ·
129 阅读 ·
0 评论