In short:
Every module, class, or function in a computer program should have responsibility over a single part of that program's functionality.
A car is made out of separate smaller parts. Two of these parts are wheels and the steering wheel.
Note the two interfaces in this folder:
WheelInterfaceandSteeringWheelInterface. Following the single responsibility principle, write a class that accepts objects implementing theWheelInterfaceandSteeringWheelInterfaceand constructs a new to be created objectCar.Note: a car can have one steering wheel and no more than four wheels.