课程类

package kexuan;
//创建课程类
public class Course {
 String Id;
 String Name;
 public Course(String Id,String Name){
  this.Id=Id;
  this.Name=Name;
 }
 public Course(){
  
 }
 public boolean equals(Object obj){
  if (this==obj) {
   return true;
  }
  if(obj==null){
   return false;
  }
  if (obj instanceof Course) {
   
  }
  return true;
 }
}

posted @ 2015-11-22 15:47  00笨笨0CC  阅读(116)  评论(0编辑  收藏  举报