Skip to main content
InterviewHubPRO
Section Overview
Q34

Question 34 of 50

Part 3: Architectural Patterns & Enterprise Systems (25 - 35)

68%
Design Patterns (GoF) (50 Qs)•Part 3: Architectural Patterns & Enterprise Systems (25 - 35)

What is the Flyweight Pattern and how does it minimize memory by sharing intrinsic state?

junior Leveldesign-patternsArchitectural Patterns

In Simple Words: The Flyweight Pattern shares common, immutable data (Intrinsic State) across millions of objects rather than duplicating it in every instance. Mutable, context-specific data (Extrinsic State) is passed in dynamically.