Album Cover

Design Patterns Vol. 1 Java

Close Preview
This exercise involves three CapitalStrategy subclasses for the loan types, Term Loan, Advised Line and Revolver.
All of these subclasses implement a capital(...) method:
Each of the capital(...) methods contains duplicated code. Your job is to remove the duplication by refactoring to a Template Method.
(Reading...)
| Tweet...
Page rating: | Rate this Page