教学管理系统java源代码
教学管理系统java源代码
篇一:java学生管理系统源代码
import java.io.Serializable;
public class Course implements Serializable{
private String courseName;
private int courseGrade;
Course(){
courseName=null;
courseGrade=0;
}
public void setCourseNameValue(String ss){
this.courseName=ss;
}
public void setCourseGradeValue(int dd){
this.courseGrade=dd;
}
public String getCourseNameValue(){
return this.courseName;
}
public int getCourseGradeValue(){
return this.courseGrade;
}
public boolean equals(Object o) {
if (o == null){ return false;}
else {
if (o instanceof Course) {
Course rec = (Course) o;
if (this.course