1.

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 PatternI got this question in semester exam.Origin of the question is Software Design Pattern in portion Design and Implementation of Software Engineering

Answer»

Right answer is (c) Delegation 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.



Discussion

No Comment Found

Related InterviewSolutions