Possible Duplicate:
Why does Java prohibit static fields in inner classes?
I am getting very confused with the access specifications of inner classes. Please explain to me about private and protected inner classes and nested classes. I want to know why non-static members cannot be declared in static inner class.
Thanks alot.
Sorry... I was wrong. I want to know why static members can not be declared in nonstatic inner classes.. I asked in reverse way.. Sorry