问题
Say I have a class name A. Within this class I define enum B by public enum B {AA,BB,CC}
. Now I want to draw a uml to reflect this relation ship, how should I do this?
回答1:
In a class class diagram the representation uses (+)----
, for instance :
来源:https://stackoverflow.com/questions/62608571/how-to-draw-java-uml-class-diagram-with-enum-being-created-within-another-class