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 PostThis is a very good example
http://www.willamette.edu/~gorr/classes/cs231/lectures/chapter9/arrays2d.htm
for (int i=0; i < 8; i++) for (int j=0; j < 8; j++) board[i][j] = BLANK;
It is in Java but the concept is the same.
Jump to PostHi finito, I think the OP meant more something like this
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.