Factory and Composite

7 views
Skip to first unread message

Dennis Lau

unread,
Apr 25, 2011, 10:22:05 PM4/25/11
to UBC CPSC 210
Just to double check, from my understanding the factory pattern is
mainly used to instantiate multiple objects and the composite pattern
is used to make objects into tree structures almost to better organize
these objects? Is that right or am I completely off.

Paul Carter

unread,
Apr 26, 2011, 2:38:28 AM4/26/11
to ubc-cp...@googlegroups.com
I strongly recommend that you re-read the material that was provided to you on design patterns.

Paul

Reply all
Reply to author
Forward
0 new messages