Skip to content

amir-shiati/factory-demonstration-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Factory

The factory design pattern is used when we have a superclass with multiple sub-classes and based on input, we need to return one of the sub-class. This pattern takes out the responsibility of the instantiation of a class from the client program to the factory class.

About

Java factory design pattern demonstration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages