测试类

package testReflect;

/** 
 * @Package testReflect

 * @ClassName: Hello

 * @Description: TODO()

 * @author andy

 * @date 2013-5-31 上午09:59:29

 */
public class Hello {
    public String name;
    private int id = 1;
    
    public Hello(){
        
    }
    public Hello(String name,int id){
        this.name = name;
        this.id = id;
    }
    
    
    public String getUserName(){
        return "123";
    }


    public String getName() {
        return name;
    }


    public void setName(String name) {
        this.name = name;
    }


    public int getId() {
        return id;
    }


    public void setId(int id) {
        this.id = id;
    }
}
View Code

相关文章:

  • 2022-01-17
  • 2021-11-02
  • 2021-12-10
  • 2022-01-14
  • 2022-01-06
  • 2022-12-23
  • 2022-12-23
  • 2022-02-24
猜你喜欢
  • 2021-10-10
  • 2022-12-23
  • 2021-05-28
  • 2021-04-25
  • 2021-09-03
  • 2021-06-25
  • 2022-02-22
相关资源
相似解决方案