设计一个学生类Student,它具有成员变量name,
设计一个学生类Student,它具有成员变量name,
日期:2010-06-17 14:58:18 人气:1
package example;
public class Student {
private String name;
private double score1;
private double score2;
private double score3;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}