CPSC 421 OOP Design Pattern: Factory Method

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