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 Sun Microsystems, Inc., 2550 Garcia Ave., Mtn. View, CA 94043-1100 USA. All rights reserved.

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