UML中关联的类型

  • 普通关联(Assocation),分单向和双向。
  • 聚合(Aggregation),用的比较多。
  • 组合(Compostion)

普通关联中,单向有箭头,双向无箭头。

ClassDiagram2

原文地址:https://www.cnblogs.com/rockniu/p/1410027.html