Skip to content

Instantly share code, notes, and snippets.

@loop
Created March 6, 2014 08:32
Show Gist options
  • Save loop/9384918 to your computer and use it in GitHub Desktop.
Save loop/9384918 to your computer and use it in GitHub Desktop.
class staticTest {
int x = 3;
int f (int z)class staticTest {
int x = 3;
int f (int z) {
return z+x;
}
public static void main(String[] args) {
staticTest test = new staticTest();
boolean x = true;
System.out.println(test.f(6));
}
} {
return z+x;
}
public static void main(String[] args) {
staticTest test = new staticTest();
boolean x = true;
System.out.println(test.f(6));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment