Factory method pattern
id:
factory-method-pattern-164-17276703
title:
Factory method pattern
text:
In object-oriented programming, the factory method pattern is a design pattern that uses factory methods to deal with the problem of creating objects without having to specify their exact classes. Rather than by calling a constructor, this is accomplished by invoking a factory method to create an object. Factory methods can be specified in an interface and implemented by subclasses or implemented in a base class and optionally overridden by subclasses. It is one of the 23 classic design patterns
brand slug:
wiki
category slug:
encyclopedia
description:
Object-oriented software design pattern
original url:
https://en.wikipedia.org/wiki/Factory_method_pattern
date created:
2003-01-03T20:35:58Z
date modified:
2024-08-29T03:09:45Z
main entity:
{"identifier":"Q637921","url":"https://www.wikidata.org/entity/Q637921"}
image:
fields total:
13
integrity:
15