1. by means of receiving property, money, or characteristics from a predecessor, ancestor, or previous owner
She obtained the house via inheritance from her grandmother.
Ela obteve a casa por herança de sua avó.
2. in programming and object-oriented design, the acquisition of properties and methods from a parent class or superclass
The child class gains new functionality via inheritance from the parent class.
A classe filha adquire novas funcionalidades através de herança da classe pai.