Documentation

Class Hierarchies

Syntax and application of class hierarchies

Class hierarchies enable you to reuse functionality by factoring out commonalities into superclasses. Superclasses can define interfaces and can add specific traits to subclasses. Subclasses specialized data and functionality defined in the superclass.

Was this topic helpful?