Except for GUIs, could anyone give me an example of why we need inner classes?
jackbauer24 0 Junior Poster
Recommended Answers
Jump to PostI hope you can download!
the best explanation and reason for using inner classes/static inner classes is in the docs zeroliken gave you:
A nested class is a member of its enclosing class. Non-static nested classes (inner classes) have access to other members of the enclosing class, even if they …
All 7 Replies
zeroliken 79 Nearly a Posting Virtuoso
jackbauer24 0 Junior Poster
zeroliken 79 Nearly a Posting Virtuoso
jackbauer24 0 Junior Poster
jackbauer24 0 Junior Poster
jackbauer24 0 Junior Poster
DavidKroukamp 105 Master Poster Team Colleague Featured Poster
zeroliken commented: nice explanation :) +7
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.