'; } } $adog = new dog(); $adog -> eat(); //注意:抽象类不能被实例化,已经要被子类继承 ?>