You can use the constructor of subclasses on java it is a feature of polymorphism. You can't call methods from subclasses in that instance unless that method is overwritten in that subclass.
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する