my dog learned polymorphism*
The moose likes Beginning Java and the fly likes Strategy pattern vs Factory pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Strategy pattern vs Factory pattern" Watch "Strategy pattern vs Factory pattern" New topic
Author

Strategy pattern vs Factory pattern

abalfazl hossein
Ranch Hand

Joined: Sep 06, 2007
Posts: 635
Both are used for choose a solution, What are difference between them?
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11170
    
  16

have you tried reading about them anywhere, such as on the wikipedia? That's where I'd start


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
 
 
subject: Strategy pattern vs Factory pattern
 
Similar Threads
WA #1.....word association
refresh modal dialog box
Local or Network based connection
MVC tutorial Head First
Observer Pattern