
How to Easily use Factory Design Pattern in Java
Hey, Tea Lovers! Let me continue our design pattern series by adding this post. The Factory Design Pattern or Factory Method Design Pattern. It is one of the widely used and easy-to-understand Design patterns. It鈥檚 an effortless yet effective way of hiding object creation complexity. That鈥檚 why it is under the creation pattern category. So let鈥檚 jump right into it. Prerequisite to knowing Factory Design Pattern Before understanding what a factory design pattern is, you need to understand what superclass and subclass are. I am pretty sure you are aware of this detail, if not, the following section describes it in brief. if you already know it, you can skip to this part ...
