Question: A case / problem that requires the application of the of the Flyweight Pattern Instead of storing details of each item separately ( name ,
A caseproblem that requires the application of the of the Flyweight Pattern
Instead of storing details of each item separately name desc, price, image we can use this pattern to share common data eg name, description between similar menu items, reducing memory usage and improving performance. its uml and java code
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
