A problem for which the Prototype pattern could be useful is discussed in problem 2.1. A partial implementation of this problem is available from the instructor in package account.To solve the the Abstract Factory exercise you should have extended the instructor package, coded an Abstract Factory for the problem, and coded a test harness of the Abstract Factory.
For this exercise,
- Code a Prototype pattern for the problem
- Code a test harness for your Prototype implementation, and
- Discuss the significant differences (advantages and drawbacks) between this implementation and other factory patterns you have coded.