Generalization relationships in C/C++ domain modeling class diagrams

In C/C++ domain modeling class diagrams, a generalization relationship, which is also called an inheritance or "an A is a B" (a human is a mammal, a mammal is an animal) relationship, implies that a specialized, child class is based on a general, parent class.

As the figure in the following table illustrates, a generalization relationship connector appears as a solid line with an unfilled arrowhead pointing from the specialized, child C/C++ class to the general, parent class. You can also visualize and design inheritance relationships between C/C++ classes.

C/C++ source code UML visualization
A snapshot of C/C++ source code showing a generalization relationship. A C/C++ generalization relationship is displayed.

Feedback