CPSC 421 OOP Design Pattern: Factory Method
Across
- 2. Factory methods pervade _____
- 5. The return type of all factory methods is a pointer to the _____ class
- 6. A related pattern is _____ methods which are typically called to create a proper object
- 10. _____ use abstract classes to define and maintain relationships between objects
- 13. Implements the product interface
- 14. Declares the factory method which returns an object of type Product
- 16. The applicability is to classes that want _____ to specify the objects it creates
- 17. Defines the interface of objects the factory method creates
- 18. A consequence is that you have to _____ Creator for each unique ConcreteProduct
Down
- 1. Overrides the factory method to return an instance of a ConcreteProduct
- 3. The applicability is to classes that want to _____ responsibility to one of several helper subclasses
- 4. One approach used with the factory method is _____ initialization
- 7. The applicability is to classes that can’t anticipate the class of objects it must _____
- 8. Factory Method is a class _____ pattern
- 9. AKA Virtual _____
- 11. According to Merriam Webster, _____ is "to become diffused throughout every part of"
- 12. Factory methods also pervade _____
- 15. A related pattern is _____ factory which is often implemented with factory methods