/*
 * @topic T00625 Baseball demo application
 * @brief concrete class Pitcher
 */
package baseball;

public class Pitcher extends BaseballPlayer {
    // Constructor method

    public Pitcher(
            int playerNumber,
            String playerName,
            int numberAtBats,
            int numberHits) {
        super(playerNumber, playerName, numberAtBats, numberHits);
    }

    // Operations
    public int rankPlayer() {
        return computeBattingAverage();
    }//rankPlayer
}//class Pitcher