私は抽象クラスが 'Player'であり、抽象クラスは 'Score'で、サブクラスは 'Combination'です。 Combination内には抽象メソッドがあり、さらに別のサブクラスで使用されます。非親クラスから抽象クラスを呼び出す方法
私の抽象メソッドは、「プレーヤ」以外のメソッドから静的に呼び出さないでどのように呼び出すことができますか?
// This is the abstract method within Combination,
// it uses the face values from rolled dice to calculate the score.
abstract public int CalculateScore(int[] faceValues);
//Array of 'Score's in Player
private Score[] scores = new Score[10];
Playerとコンビネーションクラスに関する詳細をお知らせください。 faceValuesとは – Silvinus