Q. What are the advantages of Factory objects? (Solved)
1. separate the responsibility of complex creation into cohesive helper objects.
2. hide potentially complex creation logic.
3. allow introduction of performance-enhancing memory management strategies, such as object caching or recycling.
4. all of above
- d. all of above