What is Factory Des…
 
Notifications
Clear all

What is Factory Design Pattern?

2 Posts
3 Users
0 Likes
174 Views
0
Topic starter

What is Factory Design Pattern?

2 Answers
0

The Factory Design Pattern is a creational design pattern in software development that provides an interface for creating objects but allows subclasses to alter the type of objects that will be created. It promotes loose coupling by encapsulating object creation and is commonly used in scenarios where a system needs to be independent of the classes of objects it creates, allowing for flexibility and maintainability in code.

0

Factory Method Pattern allows the sub-classes to choose the type of objects to create. It promotes the loose-coupling by eliminating the need to bind application-specific classes into the code.

Share: