Implementation inheritance
From Wikipedia, the free encyclopedia
This article may require cleanup to meet Wikipedia's quality standards. Please improve this article if you can. (May 2008) |
Please help improve this article or section by expanding it. Further information might be found on the talk page or at requests for expansion. (May 2008) |
In programming, Implementation inheritance is the inheritance of the full functionality of a class, as opposed to the inheritance of an interface, which simply defines the methods that must be present.
For example, in Java, this relationship is demonstrated by the use of the "extends" keyword, which denotes that a child class contains all functionality from the class it extends. With an interface, however, the child class implements all functionality itself.
The use of implementation inheritance is generally frowned upon as improper programming.[1]