摘要: 继承作为面向对象语言的一个重要特性,在系统设计时经常被用到。但继承的滥用会导致系统的灵活性大大下降。因此在深入了解 继承的基础上,需要正确对待继承。
关键词:
面向对象语言,
继承,
设计模式
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.
中图分类号:
张志方,张尧弼. 理解面向对象语言中的继承关系[J]. , 2004, 30(S1): 37-.
ZHANG Zhifang,ZHANG Yaobi. Understand Inheritance Relationship of Object-oriented Language[J]. , 2004, 30(S1): 37-.