Exercice 4/8 je suis bloqué


#1

voici mon code
<?php
class Vehicle {
public function honk() {
return "HONK HONK!";
}
}
// Ajoutez votre code ici :
class Bicycle extends Vehicle{
{ public function honk()
return "Beep beep!";}
}
$bicycle= new velo();
echo $bicycle->honk();

  ?>

que faire


#2

Let's start at the bottom.

class Bicycle extends Vehicle {

}
$bicycle = new Bicycle();

That will clear up the issue.