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.
QmPe                                                initiativeSTRATEGY PATTERN explained !                                ...
Strategy Pattern in Real LifeFile Storage is the required output.There could be different strategies applied for File Stor...
Strategy Pattern in Java                           Copyright 2006-2011
Real Life vs Java Object                           Copyright 2006-2011
Real Life vs Java Object                           Copyright 2006-2011
How Strategy Pattern works in Real Life ?Boss decides to arrange and store the files.Strategy is then decided based on Cos...
How Strategy Pattern works in Java ?                               Copyright 2006-2011
THANK YOU                   Please visitwww.eclipseinclips.com | www.ancitconsulting.com     Write to us on info@ancitcons...
Upcoming SlideShare
Loading in …5
×

Design patterns - Strategy Pattern

1,744 views

Published on

  • Be the first to comment

  • Be the first to like this

Design patterns - Strategy Pattern

  1. 1. QmPe initiativeSTRATEGY PATTERN explained ! Prepared by Annamalai C Copyright 2006-2011
  2. 2. Strategy Pattern in Real LifeFile Storage is the required output.There could be different strategies applied for File StorageStored into Open Cupboards, File Cabinet, Digital StorageStrategy Pattern is a behavioral pattern.Strategy Copyright 2006-2011
  3. 3. Strategy Pattern in Java Copyright 2006-2011
  4. 4. Real Life vs Java Object Copyright 2006-2011
  5. 5. Real Life vs Java Object Copyright 2006-2011
  6. 6. How Strategy Pattern works in Real Life ?Boss decides to arrange and store the files.Strategy is then decided based on Cost, Durability etc. Copyright 2006-2011
  7. 7. How Strategy Pattern works in Java ? Copyright 2006-2011
  8. 8. THANK YOU Please visitwww.eclipseinclips.com | www.ancitconsulting.com Write to us on info@ancitconsulting.com QmPe initiative Copyright 2006-2011

×