How do interfaces support loose coupling?
- Code depends on interface, not concrete class.
- Makes it easier to swap implementations without changing dependent code.
void StartVehicle(IDriveable vehicle) { vehicle.Drive(); }
void StartVehicle(IDriveable vehicle) { vehicle.Drive(); }