You want to minimize development cost by reusing methods? Which design pattern would you choose?
A. Adapter Pattern
B. Singleton Pattern
C. Delegation pattern
D. Immutable Pattern
Answer:A
You want to minimize development cost by reusing methods? Which design pattern would you choose?
A. Adapter Pattern B. Singleton Pattern C. Delegation pattern D. Immutable Pattern
Explanation:The delegation pattern is a design pattern in OOP where an object, instead of performing one of its stated tasks, delegates that task to an associated helper object.