What's New in 1.1? |
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
- You can get a first glimpse of an inner class in the
Spot
applet found at Reality Break! TheSpot
Applet.
- Nested and inner classes are covered thoroughly in and Implementing Nested Classes.
What's New in 1.1? |