Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Inner classes help

 
mani learn
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can some one explain me the usage of inner class ? Why are they needed and in what scenarios they are needed.? What is there usage(i read they can access variable and members of outer class is that all)
I have read the article on javaranch and other website about inner classes but could not get much .Any help with exmample would be appreciated


Thanx in advance
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic