Factory Pattern

Factory Pattern is one of the highly used design patterns. The reason being , its genuine usefulness and closeness to real world. Let’s take a very simple real world example to get started, and then we will map it to the pattern. Let’s say we have a Car factory which creates many types of cars. … Continue reading Factory Pattern