作者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