長方形 class Rectangle { public width: number public height: number constructor(width: number, height: number) { // 檢查長與寬是否都大於0 if (width <= 0 ...
確定! 回上一頁