oracle 面向對象(2)
摘要:
继承/覆盖/重载----------------------------------------------------------对象的继承,注意:UNDER DROP TYPE HUMANCREATE TYPE HUMAN AS OBJECT( NAME VARCHAR2(20), SEX VARCHAR2(1), -- M :MALE F:FEMALE BIRTHDAY DATE) NOT FINAL;CREATE TYPE EMPLOYEE_TYPE UNDER HUMAN( EMP_NO VARCHAR2(20), DEPT_NO VARCHAR2(20), JOB_TITLE VA 阅读全文
posted @ 2011-07-15 17:34 Mayvar 阅读(392) 评论(0) 推荐(0) 编辑