posted 23 years ago
Given the following question, I am definate about option e as correct, but for non-static inner classes should'nt option c also hold correct considering (new outer.new inner) must be mentioned in the enclosing class.
Thanx
5. Which statement is true about a non-static inner class?
A.It must implement an interface.
B.It is accessible from any other class.
C.It can only be instantiated in the enclosing class.
D.It must be final if it is declared in a method scope.
E.It can access private instance variables in the enclosing object.
<BR>Contact Me<BR> <A HREF="mailto:basu_patel@usa.net" rel="nofollow">basu_patel@usa.net</A> <P>