Design patterns - Strategy Pattern
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,511
On Slideshare
1,490
From Embeds
21
Number of Embeds
2

Actions

Shares
Downloads
27
Comments
0
Likes
0

Embeds 21

http://www.ancitconsulting.com 18
http://ancitconsulting.com 3

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. QmPe initiativeSTRATEGY PATTERN explained ! Prepared by Annamalai C Copyright 2006-2011
  • 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. Strategy Pattern in Java Copyright 2006-2011
  • 4. Real Life vs Java Object Copyright 2006-2011
  • 5. Real Life vs Java Object Copyright 2006-2011
  • 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. How Strategy Pattern works in Java ? Copyright 2006-2011
  • 8. THANK YOU Please visitwww.eclipseinclips.com | www.ancitconsulting.com Write to us on info@ancitconsulting.com QmPe initiative Copyright 2006-2011