Axaptapedia is now maintained by AgileCadence For more information please click here.

Inheritance

From Axaptapedia
Jump to: navigation, search

In object-oriented programming inheritance means that a class can inherit properties and methods from another class. This is a powerful feature because code changes in the parent class are propagated to all child classes. The advantage of that is that code only has to be changed in the parent class for the all the child classes to benefit from it.