Skip to content

Instantly share code, notes, and snippets.

@mmalone
Created August 31, 2010 22: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 mmalone/559903 to your computer and use it in GitHub Desktop.
Save mmalone/559903 to your computer and use it in GitHub Desktop.
class Outer {
public Outer() {
}
public class Inner {
public Inner() {
}
public void doit() {
System.out.println("Sup.");
}
}
}
public class InnerClassUglySyntax {
public static void main(String[] args) {
Outer outer = new Outer();
outer.new Inner().doit();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment