看板 b95902HW 關於我們 聯絡資訊
有個網頁寫的比較清楚 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
cyril928:關羽 謝啦 04/18 01:00
gonewithwind:感謝感謝 04/18 15:42
hyd0916:簡單地說PartyD就是active 而CupD就是passive 04/18 22:05
et220870:關羽騎赤兔~~ 04/19 11:28