Question: What role does the FlyweightFactory class play in the Flyweight pattern? a . It constructs a new instance of ConcreteFlyweight every time it's called. b
What role does the FlyweightFactory class play in the Flyweight pattern? a It constructs a new instance of ConcreteFlyweight every time it's called. b It ensures that only one copy of the intrinsic data is shared among similar objects.O c It stores the extrinsic data for each object. d It manages the reference counting of shared objects.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
