This post is available on: http://www.javaguides.net/2018/07/factory-pattern-from-head-first-design-patterns.html Hi, I am  Ramesh Fadatare  from India, a founder, author, designer and chief editor of a  website   JavaGuides , a technical blog dedicated to the Java/J2EE technologies.  If you like my articles/guides then connect with me directly on   Google Plus ,  Facebook ,  LinkedIn ,  GitHub , and  StackOverflow . Please comment if you have any suggestions or feedback about my articles would be appreciated. Happy learning and keep coding !!!.