inner classes : Java Glossary


inner classes

Nested classes are a feature of Java version 1.1 or later where nested local classes are allowed to be defined inside enclosing classes. There are two types: inner and static. Inner classes have an associated outer class instance, where static do not. Anonymous inner classes let you define new unnamed classes and instantiate objects with them, right in the middle of methods.

The main discussion on inner classes is under nested classes.

Learning More

This page is posted
on the web at:

Optional Replicator mirror
on local hard disk J:

Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

Your face IP:[]
You are visitor number