Adherence vs Inheritance - What's the difference?
adherence | inheritance |
A close physical union of two objects.
Faithful support for some cause.
(medicine) An extent to which a patient continues an agreed treatment plan.
The passing of title to an estate upon death.
(lb) That which a person is entitled to inherit, by law or testament.
(lb) The biological attributes passed hereditarily from ancestors to their offspring.
In object-oriented programming, the mechanism whereby parts of a superclass are available to instances of its subclass.