Skip to content

Commit 01bdcdc

Browse files
committed
Update README.md
1 parent 4ae82e4 commit 01bdcdc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ Intent: Separate the construction of a complex object from its representation so
1212

1313
##Factory Method
1414
Intent: Define an interface for creating an object, but let subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to subclasses.
15+
16+
##Prototype
17+
Intent: Specify the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype.

0 commit comments

Comments
 (0)