Inheritance relationships are represented in the UML notation by:
nesting of classes
lines with a solid diamond at one end
lines with a hollow diamond at one end
lines with a triangular arrow at one end
lines with a triangular arrow at both ends