里氏替换原则:LSP 子类可以替换父类的位置,并且程序的功能不受影响;父类所具有的的功能子类都有,所以程序不受影响;父类变量指向了一个子类对象;1 Person p=new Person();2 Student s=new Student();3 4 //Student :Person5 Perso...
分类:
其他好文 时间:
2014-06-28 21:16:41
阅读次数:
245
Course.java:
/**
* @Title:Course.java
* @Package:com.you.student.system.model
* @Description:课程封装类
* @author:Youhaidong(游海东)
* @date:2014-6-18 下午9:57:47
* @version V1.0
*/
package com.you....
分类:
其他好文 时间:
2014-06-22 22:17:32
阅读次数:
216
Student.java:
/**
* @Title:Student.java
* @Package:com.you.student.system.model
* @Description:学生信息封装类
* @author:Youhaidong(游海东)
* @date:2014-6-16 下午11:00:22
* @version V1.0
*/
package com...
分类:
其他好文 时间:
2014-06-22 17:59:19
阅读次数:
252
Well, as a college student,I haven't realized how important the English is .
But as a web programmer,I do realize the importance of learning English.
I am not writing an English composition....
分类:
其他好文 时间:
2014-06-22 17:52:50
阅读次数:
157
StudentDB.java:
/**
* @Title:StudentDB.java
* @Package:com.you.student.system.utils
* @Description:
* @author:Youhaidong(游海东)
* @date:2014-6-16 下午11:20:51
* @version V1.0
*/
package com.yo...
分类:
数据库 时间:
2014-06-22 17:41:23
阅读次数:
259
typedef struct student{
int num; //成员
int age;
char name[10];
}s_stu,*p_stu;...
分类:
其他好文 时间:
2014-06-22 14:01:44
阅读次数:
232
Score.java:
/**
* @Title:Score.java
* @Package:com.you.student.system.model
* @Description:成绩封装类
* @author:Youhaidong(游海东)
* @date:2014-6-18 下午9:53:38
* @version V1.0
*/
package com.you.st...
分类:
其他好文 时间:
2014-06-22 00:07:54
阅读次数:
303
student_work表student_info表sql语句:按grade从高到低排名结果:
分类:
数据库 时间:
2014-06-21 00:40:00
阅读次数:
470
#include #define NUMBER 6#define F_PATH "D:\\C_C++\\ec13-3\\hw.dat"typedef struct { char name[20]; int height; float weight;} student;void swap(studen...
分类:
编程语言 时间:
2014-06-21 00:08:26
阅读次数:
321
view 生成HTML页面效果 Superadmin Teacher Student controller获得信息"roles"=>["2", "3"] #params[:roles]
分类:
其他好文 时间:
2014-06-20 18:38:15
阅读次数:
230