Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Design Pattern - 1. Strategy pattern

Refers:
http://www.amazon.com/First-Design-Patterns-Elisabeth-Freeman/dp/0596007124/ref=sr_1_1?ie=UTF8&qid=1313851074&sr=8-1

  • Login to see the comments

  • Be the first to like this

Design Pattern - 1. Strategy pattern

  1. 1. <ul>Design Pattern </ul><ul>Francesco </ul>
  2. 2. <ul>Strategy Pattern </ul><ul><li>Problem : </li><ul><li>Methods within in superclass that not is implemented in all their subclasses </li></ul><li>Solution </li><ul><li>Get out the methods from the superclass
  3. 3. Create interface with beahivor methods </li></ul></ul>
  4. 4. <ul>Problem </ul>
  5. 5. <ul>Solution </ul>
  6. 6. <ul>Solution </ul>
  7. 7. <ul>Solution Final </ul>

×