Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Inner Class

 
Albert Gray
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anonymous inner class be private, public or pritected?
 
koray guclu
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic