Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Functional cohesion example
public class PolishTaxPolicy implements TaxPolicy {
public Money calculateTax(Money amount) {
//method body
return tax;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment