// d08_Education.js 定义父类
function Education(major, num){
this.major=major,
this.num=num,
this.educate=function(res){
res.write(this.major+"专业,共有"+this.num+'门课程');
}
}
module.exports=Education; //申明构造函数可被调用
// d08_Student.js 定义父类
function Student(name, age){
//构造函数申明
this