Skip to content

Instantly share code, notes, and snippets.

@shigemk2
Created May 31, 2015 08:38
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 shigemk2/c889818db2f1c2774c64 to your computer and use it in GitHub Desktop.
Save shigemk2/c889818db2f1c2774c64 to your computer and use it in GitHub Desktop.
class PlusJava {
private static int method(int x) {
return x;
}
public static void main(String[] args){
int a = 1;
a = a + 2;
method(a);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment