please dont send link please give me programming example where Inner class going to use and why we should use inner class
Asked
Active
Viewed 42 times
-2
-
Although the question marked as duplicate doesn't necessarily fit, this answer to it seems relevant: http://stackoverflow.com/a/70687/1319284 – kutschkem Jun 16 '15 at 09:14
1 Answers
0
You can be more OOP by extracting some functionality out into its own class. Java GUI programming with Swing uses inner classes extensively, so you have the functionality separated out but still located together in the same place in the same class.

Kristjan Veskimäe
- 992
- 5
- 16