Factory Design Pattern Tutorial

In my previous “Singleton Design Pattern” tutorial we got to know how to create only one instance of a class in the context. Now we will see how “Factory pattern” works . This design pattern is using in most of the software projects. This design pattern will explains us how exactly will create an object based […]