繼承 (Inheritance). 與其他物件導向語言相同,Python也有著繼承(Inheritance)的機制. 基本語法:. class DerivedClass(BaseClass): <statement-start> .
確定! 回上一頁