Posted on 2010-10-11 12:48
セ军魂ミ 阅读(142)
评论(0) 编辑 收藏
public class Student {
private String name;
private String department;
private int age;
private int score;
private String lavel;
//student的几个属性
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getDepartment() {
return department;
}
public void setDepartment(String department) {
this.department = department;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
public int getScore() {
return score;
}
public void setScore(int score) {
this.score = score;
}
public String getLavel() {
return lavel;
}
public void setLavel(String lavel) {
this.lavel = lavel;
}
}