類別(Class):定義了一件事物的抽象特點,包含它的屬性和方法. 物件(Object):類別的實例,透過 new ... 使用 class 定義類別,使用 constructor 定義建構函式。
確定! 回上一頁