The figure shows a type hierarchy, to illustrate use of the terms supertype and subtype.
The hierarchy is shown as four boxes labelled A, B, C, and D.
A is the supertype of all
B and D are direct subtypes of A
C is a direct subtype of B