Created
April 29, 2015 11:13
-
-
Save z-a-ki3/fc7268c2437f01690757 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
class A { | |
private A(){ } | |
} | |
class B extends A { | |
private B() { } | |
void play() { } | |
public static void main(String[] args) { | |
B b = new B(); | |
b.play(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment