What is Factory pattern

Factory pattern: A pattern of class definition which is employed as a generator of instances of other classes. Frequently employed to form platform- or locale-particular implementations of abstract classes or interfaces. This decreases coupling between classes as it frees the factory's client from a requirement to know regarding particular implementations.

   Related Questions in Programming Languages

©TutorsGlobe All rights reserved 2022-2023.