The JavaTM Tutorial

| Start of Tutorial > Start of Trail > Start of Lesson | Search Feedback Form

Trail: JDK(TM) 1.1 -- And Beyond!
Lesson: 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

- Nested and inner classes are covered thoroughly in Implementing Nested Classes.

| Start of Tutorial > Start of Trail > Start of Lesson | Search Feedback Form