I m new to programming .Can anybody tell me where do we use Nested Class in piratical(i dont need the code )? and Why do we use it with out using regular class Plz explain me
MrBlack 10 Junior Poster in Training
Recommended Answers
Jump to PostHi finito, I think the OP meant more something like this
Jump to PostNested classes are intended to be used by the surrounding class and can be made private. A class as such cannot be private. I never have found a really practical use for nested classes.
All 8 Replies
finito 46 Nearly a Posting Virtuoso
ddanbe 2,724 Professional Procrastinator Featured Poster
MrBlack 10 Junior Poster in Training
finito 46 Nearly a Posting Virtuoso
MrBlack 10 Junior Poster in Training
finito 46 Nearly a Posting Virtuoso
ddanbe 2,724 Professional Procrastinator Featured Poster
MrBlack 10 Junior Poster in Training
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.