作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2004, Vol. 30 ›› Issue (S1): 37-.

• 论文 • 上一篇    下一篇

理解面向对象语言中的继承关系

张志方,张尧弼   

  1. 上海交通大学软件学院,上海交通大学计算机系 上海 200240
  • 发布日期:2004-12-29

Understand Inheritance Relationship of Object-oriented Language

ZHANG Zhifang,ZHANG Yaobi   

  1. (Software School of Shanghai Jiaotong University,Shanghai 200240 ; Department of Computer Science,Shanghai Jiaotong University,Shanghai 200030)
  • Published:2004-12-29

摘要: 继承作为面向对象语言的一个重要特性,在系统设计时经常被用到。但继承的滥用会导致系统的灵活性大大下降。因此在深入了解 继承的基础上,需要正确对待继承。

关键词: 面向对象语言, 继承, 设计模式

Abstract: As being one of important characteristic of object-oriented language, Inheritance is often used during system design phase,but the system flexibility will become low if it is used without control.So based on understanding the inheritance relationship deeply, it would be treated correctly.

中图分类号: