其中 constructor 方法用來定義類別的建構子(constructor); 方法(method) 的定義也有新語法,我們在Animal 類別中定義了speak() 方法,你可以看到新語法 ...
確定! 回上一頁