Member inner class whether static or non static, ( ie. inner class declared in class scope ) can have private as well as protected access modifiers. The reason is such classes are kind of equivalent to other members ( fields and methods ) of the class.
But local inner class ( ie. inner class defined in method) cannot have any access modifier. This is again consistent with
Java's treatment of local variables.
HTH,
Paul.
------------------
Get Certified, Guaranteed!
http://www.enthuware.com/jqplus