Factories (part 4)

  • 8
  • Locked
1. At the root of the task, create an AbstractFactory interface and move the factories' common method into it. 2. Implement the AbstractFactory interface in both factories.
You can't complete this task, because you're not signed in.
Comments (1)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Patrick Moreland
Level 27 , Kirkland, United States
7 June 2020, 22:18
Validation passes when the project isn't even functional. There doesn't appear to be a requirement for getPerson to return a KidBoy/TeenBoy/Man vs. KidGirl/TeenGirl/Woman based on the factory type.