File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
Programmer Certification (SCJP/OCPJP)
Is this correct?
Joined: Mar 05, 2003
May 28, 2003 11:43:00
An instance of an Anonymous inner class can only be created in it's outer class.
Joined: Sep 29, 2002
May 28, 2003 12:22:00
An anonymous class can also be defined as an argument to a method or somewhere inside the method.
SCJP 1.4, SCWCD 1.3, SCBCD 1.3
Joined: May 16, 2003
May 28, 2003 17:36:00
The question is confusing. When the question reads "in the outer class", is this just referring to "class scope", meaning within the class definition but outside of any method definition blocks?
I agree. Here's the link:
subject: Is this correct?
Doubt about diagram class (realization)
can non-static inner class access any member
Doubt about diagram class
andrew has wii
WA #1.....word association
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014