Subtyping

subtypesubtype polymorphismsubtypessupertypederived typederived typesfunctionsinterface inheritanceintersection typeordering of types (≤)
In programming language theory, subtyping (also subtype polymorphism or inclusion polymorphism) is a form of type polymorphism in which a subtype is a datatype that is related to another datatype (the supertype) by some notion of substitutability, meaning that program elements, typically subroutines or functions, written to operate on elements of the supertype can also operate on elements of the subtype.wikipedia
0 Related Articles
No Results Found!