5. Rectangle()
6. {
7. System.out.println("執行建構元 1 ...");
8. this("粉紅色", 5, 5);
9. }
更改後
8. this.color = "粉紅色";
this.height = 5;
this.width = 5;
根據題意,應設成粉紅色,長寬皆為5