This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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