PROS: Encapsulation: It encapsulate object creation logic, which helps reducing complex code and improves maintainability. Decoupling: It decouples the client code from the specific classes being instantiated. Clients only need to know common inter...
preethisblog.hashnode.dev2 min read
No responses yet.