作者mycallmax (阿冠)
看板b95902HW
标题[考试] active classes
时间Wed Apr 18 00:57:30 2007
有个网页写的比较清楚
An active class is one whose instances have an independent thread of control.
Thus, they have the ability to run methods ``spontaneously''. In contrast, an
instance of a passive class executes a method only when it is called by
another object. After completing the method it is passive again.
以下是原始的网页网址
http://projekte.fast.de/Projekte/forsoft/intoohdm/3_1Classes.html
以上
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.112.240.35
1F:推 cyril928:关羽 谢啦 04/18 01:00
2F:推 gonewithwind:感谢感谢 04/18 15:42
3F:推 hyd0916:简单地说PartyD就是active 而CupD就是passive 04/18 22:05
4F:推 et220870:关羽骑赤兔~~ 04/19 11:28