In UML notation, generalization (inheritance) is represented by a solid line with a hollow/unfilled triangular arrowhead pointing from the subclass to the superclass. A solid diamond indicates composition, a hollow diamond indicates aggregation, and a triangle at both ends is not a standard UML relationship.