earticle

논문검색

Composition and Inheritance are Different

초록

영어

Inheritance and composition are two different and closely related techniques that allow a modeller to extend the properties of a class. The mantra “favor composition over inheritance” has been around for many years. Many examples have been given to support such a conclusion. In this paper we discuss a special type of inheritance . direct inheritance versus single member composition, and show that inheritance is more accurate and concise in these cases.

목차

Abstract
 1. Introduction
 2. Examples from Published Sources
 3. Our Example
 4. Conclusion
 References

저자정보

  • Chengying Chi School of Software Engineering, University of Science and Technology, Liaoning, Anshan, Liaoning, China, 114051
  • Xuegang Zhan School of Software Engineering, University of Science and Technology, Liaoning, Anshan, Liaoning, China, 114051

참고문헌

자료제공 : 네이버학술정보

    함께 이용한 논문

      ※ 원문제공기관과의 협약기간이 종료되어 열람이 제한될 수 있습니다.

      0개의 논문이 장바구니에 담겼습니다.