Q. Which of the following describes the Filter pattern correctly? (Solved)
1. this pattern builds a complex object using simple objects and using a step by step approach.
2. this pattern refers to creating duplicate object while keeping performance in mind.
3. this pattern enables developers to filter a set of objects using different criteria and chaining them in a decoupled way through logical operations.
4. this pattern is used when we need to decouple an abstraction from its implementation so that the two can vary independently.
- b. this pattern refers to creating duplicate object while keeping performance in mind.