My thoughts are, this is interesting. I hadn't thought about this before, but it makes sense to me. An inner class has no independant existance apart from an actual instance of the outer class. That's why you can't declare static members in an inner class. Think about it. If you can't use static members, then for the same reason, you can't extend inner the class outside the outer class.
class Inner2 is not visiable outside of class OuterfromInner1 because of scoping rule, since class Inner2 is not declared static you can only extend this class within class Outer2 [ February 20, 2002: Message edited by: Rajinder Yadav ]
<a href="http://www.rajindery.com" target="_blank" rel="nofollow">Rajinder Yadav</a><p>Each problem that I solved became a rule which served afterwards to solve other problems. --Rene Descartes
subject: Extending Inner classes outside the enclosing class