Now that the object has an x, it -- will override the x that is inherited from the class print(object.x) -- This prints 20 as one would expect.
確定! 回上一頁