Talk:Computer Science Design Patterns/Factory method

The solution is given as "Define an interface for creating an object, but let subclasses decide which class to instantiate." but the example afterwards contradicts this.

It doesn't let subclasses decide anything because the getInstance method is static and can't be overridden. 81.187.215.34 (discuss) 11:36, 2 July 2016 (UTC)