摘要:
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 阅读全文
posted @ 2010-04-30 16:28
murain
阅读(182)
评论(0)
推荐(0)
浙公网安备 33010602011771号