Created
June 22, 2019 06:20
-
-
Save acyuta/f1a576cb0e7fb820e2c4b753fe513c6f 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 Public { | |
public static void main(String[] args) { | |
Anon ext = new Anon() { | |
@Override | |
public void doit() { | |
System.out.println("Anon"); | |
} | |
}; | |
ext.doit(); | |
} | |
} | |
interface Anon { | |
void doit(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment