Skip to content

Instantly share code, notes, and snippets.

@goyusia
Created November 21, 2015 01:42
Show Gist options
  • Select an option

  • Save goyusia/6278fda53a338bce286a to your computer and use it in GitHub Desktop.

Select an option

Save goyusia/6278fda53a338bce286a to your computer and use it in GitHub Desktop.
A, A, A, A, A, ... with Java
/*
javac -g A.java && java A
*/
class A {
public A A() {
A A = new A();
return A;
}
public static void main(String[] args) {
A A = new A();
A.A();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment