Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
Java
Learn iOS Programming
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
1
Reply
When to Use a Factory Pattern
Ravi Kumar
18y
7.4k
0
Reply
Submit
When a class does not know which class of objects it must create.
A class specifies its sub-classes to specify which objects to create.
Generally, you can use factory pattern where you have to create an object of any one of sub-classes depending on the data provided.
Moses Soliman
18y
0
What are the different types of Design Patterns and Explain them?
How do you report the status of your project
Message