public Mocha(Beverage beverage) { _beverage = beverage; // 这里就把Description设置了? 这样会变为静态? _strDescription = _beverage.getDescription() + ", Mocha"; }
public Mocha(Beverage beverage) { _beverage = beverage; // 这里就把Description设置了? 这样会变为静态? _strDescription = _beverage.getDescription() + ", Mocha"; }
public override string getDescription() { return(_beverage.getDescription() + ", Soy"); }
public Whip(Beverage beverage) { _beverage = beverage; _strDescription = _beverage.getDescription() + ", Whip"; }
public Whip(Beverage beverage) { _beverage = beverage; _strDescription = _beverage.getDescription() + ", Whip"; }