Sun Microsystems, Inc

JDK Contents

Inner Classes

Inner classes allows classes to be defined in any scope. In previous releases, Java supported only top-level classes, which must be members of packages. In this release, the programmer can now define inner classes as members of other classes, locally within a block of statements, or (anonymously) within an expression.
Inner Classes Specification


Copyright © 1996-1998 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA. All rights reserved.

Please send comments on Inner Classes to: innerclass-comments@lukasiewicz.eng.sun.com