Engines, seats and tires form a product family

 

 

An implementation class implements an interface created for each part of a product

 

 

 

 

 

 

Create product family interface CarFactory interface:

 

Create an implementation class factory: creator by implementing the CarFactory interface

 

 

 

Create a product family by calling the creator,

Create a part in a product by calling a method in creator: