摘要:
abstract class beverage{ private $description; function getDescription() { return $this-description; } abstract function cost(); }class coffA extends beverage{ function getDescription() { return "this is a coff A"; } function cost() { return 0.5; }}class coffB extends beverage{ function getDescr 阅读全文