Few queries in UML diagrams
I have following questions regarding to UML diagrams:
1) I have one Game application in C# consisting of 3 games namely crosswords,sudocu n scribble & I have only 3 classes belonging to each game then:
- In the class diagram will only those 3 classes come? But they don't have any associativity among them
- And The states in the state diagram will be pause,running,stopped respectively? or do I need to specify the states according to game
2)I have an application in java which allows user to do one thing at a time by selecting a option from the options(I have used JTabbedPane) available then:
- Do I need to draw an activity diagram f开发者_如何学JAVAor each of those options available?
You need to create a state or activity diagram at the root of each class in the class diagram. You will be able to model this extension.
(source: forum-omondo.com)
精彩评论