在OOP 的術語中,這種method 叫做constructor(建構式)。 他定義了這個class 一開始應該做哪些事,像是PyQt 中每個class 的 __init__ 就是在建構Qt ...
確定! 回上一頁