Regards,<br />Mani<br />SCJP 1.4 (95%)<br />SCWCD 1.4 (94%)
Imagine IT,Think IT,Done IT
Regards,<br />Mani<br />SCJP 1.4 (95%)<br />SCWCD 1.4 (94%)
Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Regards,<br />Mani<br />SCJP 1.4 (95%)<br />SCWCD 1.4 (94%)
Imagine IT,Think IT,Done IT.
What Is a Nested Class?
Generally speaking, a nested class is a member of another class. However, it is common to speak of the static members as nested and the nested classes that are members of instances of the enclosing class as inner classes. Indeed, you are most likely to read about inner classes only, but the more general term is nested classes.
Brogden and Green, Exam Cram Java 2 Programmer, p.88
"I'm not back." - Bill Harding, Twister
"I'm not back." - Bill Harding, Twister
Extracted from JLS 14.3:
A local class is a nested class that is not a member of any class and that has a name.
Regards,<br />Mani<br />SCJP 1.4 (95%)<br />SCWCD 1.4 (94%)
Tomorrow is the first day of the new metric calendar. Comfort me tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
|