Created
March 26, 2015 12:07
-
-
Save Manjago/9b518f8ddfb77524ad45 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 Toster { | |
static class Zhopa{ | |
void display(){ | |
} | |
} | |
public static void main(String[] args) { | |
new Zhopa(){ | |
@Override | |
void display() { | |
System.out.println("Превед"); | |
} | |
}.display(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment