Saturday, 15 February 2014

How to draw UML Class diagram for my following java code? -



How to draw UML Class diagram for my following java code? -

i have abstract process class

abstract class **a**

it has fellow member function run()

classes b,c,d,e inherited abstract class a.

i have class called f (processfactory) has function called getprocess() takes argument , gives 1 instance of specified type of process object.

now class called g uses class f , instances of class b,c,d,e , work on them.

i happy if can provide uml class diagram above scenario. classes involves threads, there can show in uml thread related classes?

a uml class diagram static diagram, doesn't care if class thread, process or monkey. class, has attributes , methods. can state a inherits thread, that's can threads. this:

edit: please see comment below clarification.

java uml class-diagram

No comments:

Post a Comment