-
-
Save iyengarajay/900bf2993409118466f3ce560f9b545a to your computer and use it in GitHub Desktop.
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 BillingStrategy { | |
public static Double getNormalStrategy(Double d){ | |
return d; | |
} | |
public static Double getHappyHourStrategy(Double d){ | |
return d * 0.5; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment