這裡須注意由於private 成員無法被繼承,因此Demo 的a 與b 已改成protected protected int a; protected int b; 至於子類別的建構子(constructor) 會先執行父類別的 ...
確定! 回上一頁