hi, all
this is the question from sun's
java site:
Which of the following statements are true?
A. An inner class may be declared private.
B. An inner class may be declared static.
C. An inner class defined in a method should always be anonymous.
D. An inner class defined in a method can access all the method local variables.
E. Construction of an inner class may require an instance of the outer class.
their answeris: ABE
but according to JLS, inner class is nested class not static,
so why B is the answer?
can any guy expain this to me
thanks anyway
micael