Thumbnail
Access Restriction
Subscribed

Author Hu, Chenglie
Source ACM Digital Library
Content type Text
Publisher Association for Computing Machinery (ACM)
File Format PDF
Language English
Subject Keyword Object-orientation ♦ Object aggregation ♦ Type inheritance
Abstract Meaningful applications of inheritance are critical in devising good object-oriented solutions. Yet, not being able to use effectively and correctly inheritance in problem solving is perhaps the most significant impediment for students to become competitive object-oriented thinkers. This article provides a summary of common uses of type inheritance. It also describes the situations where type inheritance can be inappropriate or, at least, subject to reevaluation. More importantly, it brings an attention to the distinction between the mechanics and the semantics of inheritance. The article closes with an example that illustrates the use of inheritance in light of other alternatives. Finally, the article briefly discusses the implications.
Description Affiliation: Carroll University, Waukesha, Wisconsin (Hu, Chenglie)
Age Range 18 to 22 years ♦ above 22 year
Educational Use Research
Education Level UG and PG
Learning Resource Type Article
Publisher Date 2013-12-01
Publisher Place New York
Journal Inroads
Volume Number 2
Issue Number 2
Page Count 7
Starting Page 52
Ending Page 58


Open content in new tab

   Open content in new tab
Source: ACM Digital Library