Method の継承 A defined type may have methods associated with it. It does not inherit any methods bound to the given type, but the method set of an interface type or of elements of a composite type remains unchanged: ● interface型 : 継承される ● 構造体型の要素のメソッド: 継承される ● それ以外の型: 継承されない