摘要:
name."'s eating "."'$food"."\n"; } public function info(){ echo "HUMAN :".$this->name. ";".$this->height.";".$this->isHungry."\n"; } } class Animal{ } //类的定义以关键字class开始,后面是类的名称,类的命名通常第一个字母大写,以... 阅读全文
posted @ 2017-02-13 21:06
dreams7433
阅读(1470)
评论(0)
推荐(0)
2017年2月13日