tags:

views:

21

answers:

1

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 for each of those options available?
A: 

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. alt text