In UML class diagrams, inheritance is represented by a generalization relationship, symbolized by a solid line with a hollow, closed arrowhead pointing from the inheriting subclass to the parent superclass. Open head arrows are used for association, and dashed lines represent realization.