mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-12 18:16:16 +00:00
docs: update factory method
This commit is contained in:
1 parent
4a558bb956
commit
a251032768
6 files changed
+37
-37
No files matched your search
@@ -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