• Post Reply Bookmark Topic Watch Topic
  • New Topic

Use of Inner classes

 
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: 53207
124
  • 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).
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!