beginnerCreational Patterns (Java)
What is the Factory Method pattern? How does it differ from Simple Factory?
Tests whether you know Factory Method delegates creation to subclasses, unlike a single static factory method.
This is a Pro question
Sign in, then upgrade to Pro or Power to unlock this question and the full Interview Prep bank.
What is the Factory Method pattern? How does it differ from Simple Factory?