Skip to content

Instantly share code, notes, and snippets.

@kevinpet
Created September 20, 2013 22:30
Show Gist options
  • Save kevinpet/6644800 to your computer and use it in GitHub Desktop.
Save kevinpet/6644800 to your computer and use it in GitHub Desktop.
switch (account.getStrategy()) {
case AGGRESIVE:
return "aggressive high risk";
case CONSERVATIVE:
return "conservative low risk";
default:
return "unknown strategy";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment