Problem Statement
Which technique is commonly used in creational patterns to defer object creation until it is needed?
Explanation
Lazy initialization delays creation of an object until it is actually required. This is a common approach in creational patterns to optimize performance and resource usage, especially when object creation is expensive or the object may not be used.
Practice Sets
This question appears in the following practice sets: