Factory method pattern: Difference between revisions

Content deleted Content added
m rv further vandalism, back to AmunRa84
Line 2:
 
==Example==
1
 
Consider as an example a [[class (computer science)|class]] to read [[image file]]s and make [[thumbnail]]s out of them. This can be solved by bundling them all into one class and deciding which bit of code to run: