Created
July 30, 2010 08:11
-
-
Save frsyuki/500131 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Outer { | |
public static class Inner extends Outer { | |
public static void main(String[] args) { | |
new Inner().doit(); | |
} | |
} | |
protected void doit() { | |
System.out.println("done."); | |
} | |
} | |
// $ javac Outer.java | |
// $ java -cp . 'Outer$Inner' | |
// done. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment