wood burning stoves 2.0*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Inner Class" Watch "Inner Class" New topic

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>-----------------------------------------------------
Don't get me started about those stupid light bulbs.
subject: Inner Class