Inheritance


Topic history | v1 (current) | created by jjones

Details

Inheritance

| created by jjones | Add topic "Inheritance"
Title
Inheritance
Description
In object-oriented programming, inheritance is the mechanism of basing an object or class upon another object (prototype-based inheritance) or class (class-based inheritance), retaining similar implementation. Also defined as deriving new classes (sub classes) from existing ones such as super class or base class and then forming them into a hierarchy of classes. In most class-based object-oriented languages, an object created through inheritance, a "child object", acquires all the properties and behaviors of the "parent object" , with the exception of: constructors, destructor, overloaded operators and friend functions of the base class. Inheritance allows programmers to create classes that are built upon existing classes, to specify a new implementation while maintaining the same behaviors (realizing an interface), to reuse code and to independently extend original software via public classes and interfaces.
Link
https://en.wikipedia.org/?curid=2617746

resources

treated in Inheritance was invented as a performance hack
v1 | attached by jjones | Add topic "Inheritance"

authors

This topic has no history of related authors.

topics

subtopic of Object-oriented programming (OOP)
v1 | attached by jjones | Add topic "Inheritance"