Question 12 / 69:  Which pattern is utilized in this example ?

Every character object in a word document has data about the graphical representation and the position, but to avoid redundant graphical representation data for objects to the same character, it is advisable to extract out these representation data to one shared object between these objects, and store only the position of each character internally in each object.

A  Abstract Factory
B  Method Factory
C  Builder
D  Flyweight
<< First < Previous Flashcard Next > Last >>
Explanation:

The Flyweight pattern is used to utilize memory by letting large numbers of finegrained objects share common data.

Quiz Home Page
Ask
JavaChamp Team
Start Quiz
Savannah Parrish
Start Exam
Royalle Moore
Start Quiz
Dewey Compton
Start Exam
Copy and paste the following HTML code into your website or blog.
<iframe src="https://www.jobilize.com/embed/gang-of-four-gof-design-patterns" width="600" height="600" frameborder="0" marginwidth="0" marginheight="0" scrolling="yes" style="border:1px solid #CCC; border-width:1px 1px 0; margin-bottom:5px" allowfullscreen webkitallowfullscreen mozallowfullscreen> </iframe>