Jump to content

Implementation inheritance

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by TMSTKSBK (talk | contribs) at 05:40, 12 May 2008 (fixed links). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In programming, Implementation inheritance is the inheritance of the full functionality of a Class (computer science), as opposed to the inheritance of an interface (computer science), which simply defines the methods that must be present.

For example, in Java (programming language), 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]