Factory Method is a creational design pattern that provides an interface for creating objects in a superclass, but allows subclasses to alter the type of objects that will be created.
gokul-srinath / design-patterns Goto Github PK
View Code? Open in Web Editor NEWThis repo is for Design Patterns - Practical Codes. (please feel free to contribute)