Abstract Factory: A factory of factories; a factory that groups the individual but related/dependent factories together without specifying their concrete classes.Abstract Factory Example
Factory: It provides a way to delegate the instantiation logic to child classes.Factory Pattern Example