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.
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