echo "<br>" . $pluto->ladra(); echo "<br>" . $pluto->corre(); echo "<br>" . $pluto->lava(); echo "<br>" . $pluto->vuela(); echo "<br>" . $pluto->pare(); echo "<br>" . $pluto->mama(); echo "<hr>{$lasie}<br>"; echo "<br>" . $lasie->pare(); echo "<hr>{$piolin}<br>"; echo "<br>" . $piolin->come(); echo "<br>" . $piolin->corre(); echo "<br>" . $piolin->lava(); echo "<br>" . $piolin->vuela(); echo "<br>" . $piolin->canta(); echo "<br>" . $piolin->pia(); echo "<br>" . $piolin->ovoposita(); echo "<hr>{$piolina}<br>"; echo "<br>" . $piolina->ovoposita(); echo "<hr>{$happyFeat}<br>"; echo "<br>" . $happyFeat->pia(); echo "<br>" . $happyFeat->grazna(); echo "<br>" . $happyFeat->desliza(); echo "<hr>{$guancho}<br>"; echo "<br>" . $guancho->come(); echo "<br>" . $guancho->sacaLengua(); echo "<br>" . $guancho->vuela(); echo "<hr><br><h2>Número total de animales: " . Animal::getNumAnimales() . "</h2>"; ?> </section> </body> </html>
$pajaro1->come(); */ echo "<h3>Canario</h3>"; echo "<p>" . $canario1->getSexo() . "</p>"; $canario1->bebe(); $canario1->picotea(); $canario1->vuela(); $canario1->pia(); $canario1->canta(); echo "<h3>Pinguino</h3>"; echo "<p>" . $pinguino1->getSexo() . "</p>"; $pinguino1->duerme(); $pinguino1->aletea(); $pinguino1->nada(); $pinguino1->grazna(); $pinguino1->desliza(); echo "<h3>Perro</h3>"; echo "<p>" . $perro1->getSexo() . "</p>"; $perro1->come(); $perro1->corre(); $perro1->juega(); $perro1->ladra(); $perro1->huele(); $perro1->babea(); echo "<h3>Gato</h3>"; echo "<p>" . $gato1->getSexo() . "</p>"; $gato1->duerme(); $gato1->mama(); $gato1->maulla(); $gato1->bufa(); $gato1->ronronea();