LUA 中最基本的結構是table,所以需要用table來描述對象的屬性。 ... Meta class Rectangle = {area = 0, length = 0, breadth = 0} -- 派生类的方法new function ...
確定! 回上一頁