PHP - Inheritance and Polymorphism
What will be the output of this PHP code?
abstract class Vehicle {
abstract public function start();
}
class Car extends Vehicle {
public function start() {
return "Car started";
}
}
$car = new Car();
echo $car->start();