ClassA{ Init(){ SetEnable(); } setEnable(){ ClassB.method1(); ClassB.method2(); } } I list the diagram below, but I found it��s not very clear because In fact, method1() and method2() is belongs to setEnable(), but in the diagram, we can��t see this, how to describe this correctly?
ClassB b=new ClassB(); C.set(b); }
Is it clear to describe this, or it there other better idea?
ClassB b=ClassD.createClassB(); C.set(b); } How to draw this? any help is appreciated Best Regards, Eric Hua |


