super():從子類別呼叫其父類別的建構式、方法。 package extendsDemo; class Father2{ //父類別 public int a; //宣告A private String name; //私人 ...
確定! 回上一頁