1912Software EngineeringMedium
You want to minimize development cost by reusing methods? Which design pattern would you choose?
AAdapter Pattern
BDelegation pattern
CImmutable Pattern
DSingleton Pattern
Correct answer
B. Delegation pattern
Explanation
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.