Hi Experts, Please help me to understand the Factory pattern and Singleton pattern, when we need to use Factory pattern and when use Singleton pattern.
What is the main advantage/disadvantage one over other?
Any suggestion(explanation) will help me lot. Thanks Vijendra Singh