You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,3 +10,8 @@ Intent: Provide an interface for creating families of related or dependent objec
10
10
Builder
11
11
=======
12
12
Intent: Separate the construction of a complex object from its representation so that the same construction process can create different representations.
13
+
14
+
15
+
Factory Method
16
+
==============
17
+
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.
0 commit comments