UML Class Diagram Relationships and Symbols
B inherits from A.
B implements A.
A and B call and access each other’s elements.
4. Association (one way)
A can call and access B’s elements, but not vice versa.
A has a B, and B can outlive A.
A has a B, and B depends on A.