Search code examples
umlclass-diagram

how to draw java uml class diagram with enum being created within another class


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?


Solution

  • In a class class diagram the representation uses (+)----, for instance :

    enter image description here