Lecture overview -- Keyboard shortcut: 'u'  Previous page: Singleton (2) -- Keyboard shortcut: 'p'  Next page: Factory Method (2) -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  Annotated slide -- Keyboard shortcut: 't'  Alphabetic index  Help page about these notes  Course home    Designmønstre - slide 16 : 31

Factory Method (1) 

Designmønstret Factory Method understøtter skabelse af produktobjekter gennem et fabrikationsobjekt

Fabrikationsobjektet overlader det til en subklasse af bestemme typen af de fabrikerede objekter