This week's book giveaway is in the Java 9 forum.
We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line!
See this thread for details.
Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

use of a private class and anonymous innerclass  RSS feed

 
kundan varma
Ranch Hand
Posts: 323
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI All
What is the use of a private class ?
What is the use of anonymous inner class ?
one more thing why cant we declare top level class as private or protected??
THanks
kundan
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!