posted 23 years ago
sudhakar,
The reason that constraint is placed on inner classes is this :
Unless an inner class is specified as static (which means it always exists), a non-static inner class needs an instance of the outer class to exist... Static attributes always exist, so how could a static attribute always exist if the class containing it ( the non-static inner class ) does not exist because it has no outer class to contain it?
HTH,
-Nate
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.