Example of ElectricCar inheriting from Car.