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.
Factories (part 4)
- 8
Locked
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Patrick Moreland
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.
0