Skip to content

Instantly share code, notes, and snippets.

@JossWhittle
Created August 10, 2012 17:06
Show Gist options
  • Save JossWhittle/3315698 to your computer and use it in GitHub Desktop.
Save JossWhittle/3315698 to your computer and use it in GitHub Desktop.
/**
* Adds two ints, x and y
* @param x An int to be added
* @param y The other int to be added
* @return Returns the sum of two ints, x and y
*/
public int add(int x, int y) {
return (x + y);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment