/** 継承の実習サンプルプログラム:子クラス1 @author Fumitaka Makino */ public class ExtTestSub1 extends ExtTestSuper{ /** コンストラクタ、名前と電話番号を引数に持つ。内部ではスーパークラスのコンストラクタを実行している。 @param String sname 名前 @param String stel 電話番号 */ public ExtTestSub1( String sname , String stel ){ //スーパークラスであるExtTestSuperのコンストラクタを実行 super( sname , stel ); } }