In which scenario is the Prototype pattern more appropriate than the Factory Method pattern?
-
A
When the number of product types is fixed and known at compile time
-
B
When creating objects that are expensive to initialize and many similar copies are needed
-
C
When the product must be assembled from multiple parts
-
D
When a single global instance is required