1 2 public abstract class CapitalStrategy { 3 public abstract double capital(Loan loan); 4 5 public abstract double riskAmountFor(Loan loan); 6 public abstract double duration(Loan loan); 7 public abstract double riskFactorFor(Loan loan); 8 }