Elite Mindz Interview Question

What is factory pattern and singleton pattern?