

McqMate
Q. |
Which of the following describes the Flyweight pattern correctly? |
A. | this pattern allows a user to add new functionality to an existing object without altering its structure. |
B. | this pattern is used where we need to treat a group of objects in similar way as a single object. |
C. | this pattern is primarily used to reduce the number of objects created and to decrease memory footprint and increase performance. |
D. | this pattern hides the complexities of the system and provides an interface to the client using which the client can access the system. |
Answer» C. this pattern is primarily used to reduce the number of objects created and to decrease memory footprint and increase performance. |
View all MCQs in
Software Design Modeling (SDM)No comments yet