posted 16 years ago
Hello,
Inner Classes are inherited by subclass, right?
I did a example and I declared a inner class (as public) in a super class X and I can to instance the inner by the instance of the subclass Y (Y extends X).
But, later I declared the same inner class in class Y but with the modifier private and none compiler error happen... Why?