Answer
Factory pattern creates objects without exposing creation logic.
Promotes loose coupling and extensibility.
Used in dependency injection and plugin architectures.
Promotes loose coupling and extensibility.
Used in dependency injection and plugin architectures.