This article discuss about what is the design pattern and what are the advantages of design patterns. It also discuss about what is the Factory design pattern and Abstract design pattern, when to use Abstract design pattern and what are the advantages of Factory and abstract design patterns.