File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Inner Class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Inner Class" Watch "Inner Class" New topic
Author

Inner Class

Albert Gray
Ranch Hand

Joined: Mar 06, 2001
Posts: 43
Can anonymous inner class be private, public or pritected?
koray guclu
Ranch Hand

Joined: Feb 23, 2001
Posts: 59
No you can not define any access modifiers at all for anonymous inner classes.
Check my document about inner classes at http://www.geocities.com/korayguclu/
Originally posted by Albert Gray:
Can anonymous inner class be private, public or pritected?


-----------------------------------------------------<BR> Koray GUCLU ~ the sky has no limit ~<BR> (B.s. Computer Engineer)<BR> Frankfurt am Main, Germany<BR> web : <A HREF="http://www.geocities.com/korayguclu/<BR rel="nofollow">" TARGET=_blank>http://www.geocities.com/korayguclu/<BR></A> mail: korayguclu@yahoo.com<BR>-----------------------------------------------------
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Inner Class
 
Similar Threads
Private
Question in K&B Book - protected class
Inner Classes
Passing an object to a method.
Inner Classes