Static nested classes are the simplest form of inner classes.
They behave much like top-level classes except that they are defined within the scope
of another class, namely the enclosing class. Static nested classes have no implicit
references to instances of the enclosing class and can access only static members and
methods of the enclosing class. Static nested classes are often used to implement
small helper classes such as iterators
static nested classes
Thursday, August 20, 2009
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment