final方法可以被繼承,但是子類別無法覆載。(可以呼叫使用). class Dad{. final int x;. public Dad(){. //雖然下面的建構子裡有設定final的值了,但 ...
確定! 回上一頁