A demo of Factory Design Pattern