http://chineseinput.net/에서 pinyin(병음)방식으로 중국어를 변환할 수 있습니다.
변환된 중국어를 복사하여 사용하시면 됩니다.
Composition and Inheritance are Different
Chengying Chi,Xuegang Zhan 보안공학연구지원센터 2015 International Journal of Software Engineering and Vol.9 No.12
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.