2010年4月30日
摘要: 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 阅读(174) 评论(0) 推荐(0) 编辑