Skip to content

Instantly share code, notes, and snippets.

Last active Jul 13, 2016
What would you like to do?
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