第 35 行:建立 Peter 物件,會使用 6-10 行的建構式。 ... 若有定義建構式時,預設建構式會自動消失,若想要在程式中使用 Student Fred = new Student();會產生下圖錯誤。
確定! 回上一頁