Subclass (source code)

= Subclass

A <software class> declared to inherit from another <software class>. In nominal <object-oriented programming>, subclass relationships commonly induce <subtype> relationships. Valid behavioral substitution also requires satisfying the parent's observable contract, beyond merely declaring the inheritance.