Last active
January 27, 2020 11:23
-
-
Save stolarczykt/ae44dadd8426c406f11be716c107b1d7 to your computer and use it in GitHub Desktop.
Functional cohesion example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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