Implementing the Factory Pattern in Java
Introduction
The Factory Design Pattern is a creational pattern that provides an interface for creating objects in a super class, but allows subclasses to alter the type of objects that will be created. It encapsulates object creation logic and promo...
vishad.hashnode.dev10 min read