Previous | Next | Trail Map | To 1.1 -- And Beyond! | What's New in 1.1?

Inner Classes

Previous releases of the Java language required that all classes be top-level classes--classes declared as members of a package. The JDK 1.1 release removes this restriction and now allows classes to be declared in any scope. Classes declared inside other classes are called nested classes, and one common type of nested class is called an inner class.

Where to Find Documentation


Previous | Next | Trail Map | To 1.1 -- And Beyond! | What's New in 1.1?