← Back to Design PrinciplesFactory
Design Principles
The Question
What is the Factory pattern and when would you use it?
What a Strong Answer Covers
- decouples creation
- "returns subclass based on input
Related Questions
Practice This Question
Get AI-graded feedback on your answer with follow-up probes on weak points.
Take the Free Assessment