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 Inner classes  RSS feed

 
Ravindranath Chowdary
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,
Can you please give me an idea of what is the need of inner classes with an example.

Thanks,
Ravindra
 
Campbell Ritchie
Marshal
Posts: 56193
171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Go here, download and unzip a copy of Thinking In Java (Bruce Eckel, 3rd edition) and look at the chapter about interfaces and inner classes (I think ch 8).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!