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?
Asked
Active
Viewed 296 times
0

Rui
- 117
- 2
- 12
-
warning anyway in https://stackoverflow.com/questions/27797531/how-to-represent-the-nested-class-of-c-in-uml the beginning of the accepted answer is not anymore valid, look at all answers – bruno Jun 27 '20 at 12:57
1 Answers
2

bruno
- 32,421
- 7
- 25
- 37
-
Hi, thanks for your answer, but I just would like to confirm is this for java? I just saw this answer, sorry, but I found you said this for c++ – Rui Jun 27 '20 at 14:48
-
@Rui whatever Java or C++ or any other programming language here, it is UML notation – bruno Jun 27 '20 at 14:52
-
This question might be stupid, but do you mean uml format is same for java and c++ right? – Rui Jun 27 '20 at 14:54
-
1
-
1because UML is a norm with its own rules, it does not care about the programming languages – bruno Jun 27 '20 at 14:58
-
1To be more precise I should have said "UML is _programming_ language agnostic". UML is (the L abbreviates it) a language itself. – qwerty_so Jun 27 '20 at 15:12