mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-08-10 20:22:17 +00:00
docs: update factory method
This commit is contained in:
@@ -7,10 +7,6 @@ tag:
|
||||
- Instantiation
|
||||
---
|
||||
|
||||
## Also known as
|
||||
|
||||
* Factory Method
|
||||
|
||||
## Intent
|
||||
|
||||
The Factory design pattern is intended to define an interface for creating an object, but allows subclasses to alter the type of objects that will be created. This pattern is particularly useful when the creation process involves complexity.
|
||||
|
||||
Reference in New Issue
Block a user