strategy pattern and bridge pattern
i am confused with two design patterns, strategy pattern and bridge pattern.
i have read that strategy comes under behavioral where bridge comes under structural patterns.
But in both we have an interface , more than one class implement it and define methods in their own way.
In strategy pattern we have a context class which holds a reference of interface. On invoking context method, context call corresponding method in using this reference.
In bridge pattern context is an abstract class. each subclass of context holds a reference of its implementer. and invoke the method using that reference.
Only difference i found is in bridge context is abstract and many concrete context classes exists there. but in strategy only one context class, and client set its implementer.
i am sure there is some big difference between them as they are existing as two design patterns
can anyone let me know what is that?
thanks in advance......