类图
Main.java
1 | import activeobject.ActiveObject; |
MakerClientThread.java
1 | import activeobject.ActiveObject; |
DisplayClientThread.java
1 | import activeobject.ActiveObject; |
ActiveObject.java
1 | package activeobject; |
ActiveObjectFactory.java
1 | package activeobject; |
ActiveObjectImpl.java
1 | package activeobject; |
运行结果
1 | displayString: Chris 0 |