Skip to content

Instantly share code, notes, and snippets.

@SIRHAMY
Created January 8, 2016 05:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SIRHAMY/e5cc41aa71aa95eb767e to your computer and use it in GitHub Desktop.
Save SIRHAMY/e5cc41aa71aa95eb767e to your computer and use it in GitHub Desktop.
Little function used for debugging exercises.
public int x(String z) {
if(z.toLowerCase().equals("Airplane")) {
return 5;
} else if(z.toLowerCase().equals("Car")){
return 3;
} else if(z.toLowerCase().equals("Boat")){
return 3;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment