案例A 假设您有2个班级Model和Settings.
Model
Settings
设置只包含public static整个应用程序中使用的常量.你会说这两个班级有什么样的关系?
public static
案例B假设您有一个IntersectionManager singleton类正在被类使用Road并Car从中获取一些数据.
IntersectionManager
singleton
Road
Car
UML 中" 类使用类 "关系的名称是什么?
案例A和案例B都会使用相同的关系吗?您将用什么UML箭来证明这种关系?
uml class-relationship
class-relationship ×1
uml ×1