Question: Question 1. ( True or False) a) Strategy pattern provides an alternative to the multiple conditional statements by putting the conditional branches into their own

Question 1. ( True or False)

a) Strategy pattern provides an alternative to the multiple conditional statements by putting the conditional branches into their own strategy class.

b) Strategy pattern is applicable when you have different variants of an algorithm that reflects different space/time trade-offs.

c) Concrete strategy classes differ in both their behaviour and their interfaces.

d) Strategy pattern eliminates the communication overhead between algorithms and the data they use.

e) Using Strategy pattern might increase the number of objects in an application.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!