Definition. Subtyping

[comp1110-33]

A type T is said to be a subtype of U iff, whenever a U is required by a program, a T may be supplied.

U example = new T(); // valid because T is a subtype of U
bars magnifying-glass caret-down plus minus arrow-right xmark