而這次CShape 這個父介面的功能有資料成員PI 以及設定顏色的抽象函數setColor(); CShape2D 則是用來顯示面積的用途。 ... abstract void setColor(String str);.
確定! 回上一頁