posted 22 years ago
1��which one is true?
A.An anonymous class can be declared as static.
B.A static inner class cannot be a static member of
the outer class.
C.A static inner class does require an instance of
the enclosing class.
D.Instance member of a static inner class can be
referened using the class name of the
static inner class.
2��which statement is true?
A. An anonymous inner class may be declared as final
B. An anonymous inner class can be declared as private
C. An anonymous inner class can implement mutiple
interfaces
D. An anonymous inner class can access final variables
in any enclosing scope
E. Construction of an instance of a static inner class
requires an instance of
the encloing outer class
the first question's answer is c,and the second question's answer is d,but I don't think so.please explain it to me!thanx
scjp 1.4<br />challenge haven't limit!