This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Inner classes help  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!